Getfiles: Get files for DI-MS processing

View source: R/purityD-fileList.R

GetfilesR Documentation

Get files for DI-MS processing

Description

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

Usage

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


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

Viant-Metabolomics/msPurity documentation built on May 13, 2024, 8:23 a.m.