phenoDataFromPaths: Derive experimental design from file paths

Description Usage Arguments Note Examples

View source: R/functions-xcmsSet.R

Description

The phenoDataFromPaths function builds a data.frame representing the experimental design from the folder structure in which the files of the experiment are located.

Usage

1

Arguments

paths

character representing the file names (including the full path) of the experiment's files.

Note

This function is used by the old xcmsSet function to guess the experimental design (i.e. group assignment of the files) from the folders in which the files of the experiment can be found.

Examples

1
2
3
## List the files available in the faahKO package
base_dir <- system.file("cdf", package = "faahKO")
cdf_files <- list.files(base_dir, recursive = TRUE, full.names = TRUE)

yclement/xcms documentation built on April 10, 2020, 12:08 a.m.