dfs_ABF: Extract data or other variables from the imported ABF data.

View source: R/dfs_ABF.R

dfs_ABFR Documentation

Extract data or other variables from the imported ABF data.

Description

Extract data or other variables from the imported ABF data.

Usage

dfs_ABF(x, int = "data", select = FALSE, returnList = TRUE)

Arguments

x

data from import

int

Character Indicate what your interested in extracting from the contents of the imported ABF format.

select

Logical or Numeric Indicate if you want to choose from a list of options to be returned. Options to choose from are contents of ABF file after import.

returnList

Logical. If TRUE, will return elements as a nested list. Useful when extracting the nested dataframes that make up the majority of the nested data. If FALSE, will unlist the elements ard return data as a single vector. Useful if wanting to return something like sampling rate or signal channels.

Value

Extracted elements as determined by the user input at int. Default is "data".

Examples

## Not run: 
x = field$ABF
dfs <- dfs_ABF(x)

## End(Not run)

NRSC/nphys documentation built on Nov. 13, 2024, 2:12 a.m.