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.chooseto 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.amplitudeDouble, amplitude of the detected event.rise_msDouble, rise time in milliseconds.decay_msDouble, decay time in milliseconds.areaCharacterbaselineDoublenoiseDoublegroup: 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_90slopeCharacterrel_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.
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.