Learn R Programming

erah (version 2.0.1)

createPhenoTable: 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

Run this code
if (FALSE) {
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)]))
}

Run the code above in your browser using DataLab