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 data.frame
.
Arguments
- file_path
Character, path to file. User can call
file.choose
to interactively select the file.- merge_iei
Logical, if TRUE .asc and .txt files with matching names will be merged. Default is
FALSE
.
Value
data.frame, column names 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
: Character, continuous time value that is determined from the recording digitization value.amplitude
Double, amplitude of the detected event.rise_ms
Double, rise time in milliseconds.decay_ms
Double, decay time in milliseconds.area
Characterbaseline
Doublenoise
Doublegroup
: 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_rise
Doublehalfwidth
Doublerise50
Doublepeak_direction
Integerburst
Integerburste
Integerx10_90slope
Characterrel_time
Doubleiei
: Double, inter-event interval in milliseconds calculated in MA. Optional column, if argmerge_iei
is 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.
Note
Several columns are set to the base type "character" to avoid generating NA
on number values containing
commas and periods, e.g. 1,200.00
, on import.