Skip to contents

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.

Examples

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)]))
}