Getfiles: Get files for DI-MS processing

Description Usage Arguments Value Examples

View source: R/purityD-fileList.R

Description

Takes in a folder path and outputs the a data frame structure for purityD. Function modified from mzmatch.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
Getfiles(
  projectFolder = NULL,
  recursive = FALSE,
  pattern = ".csv",
  check = TRUE,
  raw = FALSE,
  peakout = NA,
  cStrt = TRUE,
  mzml_out = FALSE
)

Arguments

projectFolder

character; Directory path

recursive

boolean; Recursively check for files

pattern

character; File suffix to check for

check

boolean; Check with a GUI the files

raw

(REDUNDANT)

peakout

(REDUNDANT)

cStrt

boolean; Use the first word as the class name for files

mzml_out

(REDUNDANT)

Value

dataframe of files

Examples

1
2
datapth <- system.file("extdata", "dims", "mzML", package="msPurityData")
inDF <- Getfiles(datapth, pattern=".mzML", check = FALSE, cStrt = FALSE)

msPurity documentation built on Jan. 14, 2021, 2:44 a.m.