R/io.R
getmr.Rd
Get the mzrt profile and group information for batch correction and plot as a list directly from path with default setting
getmr(
path,
index = FALSE,
BPPARAM = BiocParallel::SnowParam(),
pmethod = "hplcorbitrap",
minfrac = 0.67,
...
)
the path to your data
the index of the files
used for BiocParallel package
parameters used for different instrumentals such as 'hplcorbitrap', 'uplcorbitrap', 'hplcqtof', 'hplchqtof', 'uplcqtof', 'uplchqtof'. The parameters were from the references
minimum fraction of samples necessary in at least one of the sample groups for it to be a valid group, default 0.67
arguments for xcmsSet function
list with rtmz profile and group infomation
if (FALSE) {
library(faahKO)
cdfpath <- system.file('cdf', package = 'faahKO')
list <- getmr(cdfpath, pmethod = ' ')
}