ReadInFaimsDirectories: Read in FAIMS files from a set of directories

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. This function will check that there is at least one ingested file for each directory in /codedataPath, and return a warning if not. If multiple matching files are found an error will be thrown.

Usage

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

Arguments

dataPath

the directory containing the data

filePattern

a regular expression. 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 data file read


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