createPhenoTable {erah} | R Documentation |
Create Phenotype Table
Description
Create table containing sample meta information such as as sample ID and class.
Usage
createPhenoTable(files, cls)
Arguments
files |
File paths to experiment samples. |
cls |
Character vector containing sample classes. |
Details
Creates phenotype information table based on experiment sample file paths and sample classes. Columns containing further information can also be added to this.
See Also
newExp
createInstrumentalTable
Examples
## Not run:
library(gcspikelite)
data(targets)
files <- list.files(system.file('data',package = 'gcspikelite'),full.names = TRUE)
files <- files[sapply(files,grepl,pattern = 'CDF')]
phenotype <- createPhenoTable(files,as.character(targets$Group[order(targets$FileName)]))
## End(Not run)
[Package erah version 2.0.1 Index]