makeColData: Create column metadata

Description Usage Arguments Value Examples

View source: R/rnaseq_functions.R

Description

Creates column metadata table (colData) from a gene expression matrix.

Usage

1
makeColData(expr, sample.id, cond)

Arguments

expr

Gene expression matrix, with column descriptors separated by underscores or periods.

sample.id

The position(s) in the parsed sample names that contain the sample IDs.

cond

The position(s) in the parsed sample names containing the conditions.

Value

Matrix of column metadata

Examples

1
makeColData(expr, 3, c(2,3))

danielderrick/defunctions documentation built on Aug. 4, 2017, 6:23 p.m.