Skip to contents

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.

Usage

asc_to_tibble(file_path, merge_iei = FALSE)

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

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.

  • amplitude Double, amplitude of the detected event.

  • rise_ms Double, rise time in milliseconds.

  • decay_ms Double, decay time in milliseconds.

  • area Double

  • baseline Double

  • noise Double

  • group: 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 Double

  • halfwidth Double

  • rise50 Double

  • peak_direction Integer

  • burst Integer

  • burste Integer

  • x10_90slope Numeric

  • rel_time Double

  • iei: Double, inter-event interval in milliseconds calculated in MA. Optional column, if arg merge_iei is set to TRUE.

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.