Exported files from Synaptosoft's Mini Analysis software (MA, see ref) are saved as ASCII text file
(.asc), this function will convert (.asc) files into a tibble.
Arguments
- file_path
Character, path to file. User can call
file.chooseto interactively select the file.- merge_iei
Logical, if TRUE .asc and .txt files with matching names will be merged. Default is
FALSE.
Value
A tibble with column names that match default columns within Synaptosoft's Mini Analysis software. Column names are as follows:
ma_row: Integer, corresponds to the row number generated in Mini Analysis. It is not recommended for use as a reference/key value.rec_time_ms: Double, continuous time value that is determined from the recording digitization value.amplitudeDouble, amplitude of the detected event.rise_msDouble, rise time in milliseconds.decay_msDouble, decay time in milliseconds.areaDoublebaselineDoublenoiseDoublegroup: Integer (0 to 255), user-assigned group number within MA.channel: Integer, corresponds to the recording channel as defined by the user's DAC and digitizer.x10_90_riseDoublehalfwidthDoublerise50Doublepeak_directionIntegerburstIntegerbursteIntegerx10_90slopeNumericrel_timeDoubleiei: Double, inter-event interval in milliseconds calculated in MA. Optional column, if argmerge_ieiis set toTRUE.
Details
Mini Analysis software (MA) independently analyzes inter-event interval from the events file, this function
will combine the event file (.asc) with the corresponding inter-event interval (IEI) text file (.txt) if arg
merge_iei is set to TRUE.