add_rnaseq-methods: Method to add an expression RNA seq dataset to...

Description Usage Arguments Value Examples

Description

This method adds or overwrites the slot "rnaseq" of an MultiDataSet with the content of the given ExpressionSet. The fData of the ExpressionSet must contain the columns chromosome, start and end.

Usage

1
add_rnaseq(object, rnaSet, ...)

Arguments

object

MultiDataSet that will be filled.

rnaSet

ExpressionSet to be used to fill the slot.

...

Arguments to be passed to add_eset.

Value

A new MultiDataSet with the slot "rnaseq" filled.

Examples

1
2
3
4
5
multi <- createMultiDataSet()
eset <- new("ExpressionSet", exprs = matrix(runif(4), 2))
fData(eset) <- data.frame(chromosome = c("chr1", "chr2"), start = c(12414, 1234321),
 end = c(121241, 12122414), stringsAsFactors = FALSE)
multi <- add_genexp(multi, eset)

isglobal-brge/MultiDataSet documentation built on Oct. 9, 2021, 11:42 a.m.