ReadInFaimsDirectoriesMultiFile: Read and combine multiple FAIMS data files per sample

Description Usage Arguments Value

View source: R/read.R

Description

Search for directories containing FAIMS data below a specified directory, and return a named matrix with one row per directory. Multiple file patterns may be passed as a character vector to combine multiple files per directory.

Usage

1
2
ReadInFaimsDirectoriesMultiFile(dataPath,
  filePatterns = ".*[.](txt|asc)", dec = ".", minFlowRate = 1.9)

Arguments

dataPath

the directory containing the data

filePatterns

a character vector of regular expressions. All files matching this regular expression will be included.

dec

Decimal symbol

minFlowRate

minimum acceptable flow rate. If min flow rate falls below this threshold an error is thrown

Value

a named matrix with one row per directory


mattdneal/FAIMSToolkit documentation built on May 21, 2019, 12:57 p.m.