createPhenoTable: Create Phenotype Table

View source: R/file.R

createPhenoTableR 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)

erah documentation built on June 22, 2024, 11:01 a.m.