removeUninformativeFactors: Remove uninformative factors from the phenotype data of an...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/pumaComb.R

Description

This is really an internal function used to remove uninformative factors from the phenotype data. Uninformative factors here are defined as those which have the same value for all arrays in the ExpressionSet.

Usage

1

Arguments

eset

An object of class ExpressionSet.

Value

An ExpressionSet object with the same data as the input, except for a new phenoData slot.

Author(s)

Richard D. Pearson

See Also

Related methods createDesignMatrix and createContrastMatrix

Examples

1
2
3
4
5
	eset_test <- new("ExpressionSet", exprs=matrix(rnorm(400,8,2),100,4))
	pData(eset_test) <- data.frame("informativeFactor"=c("A", "A", "B", "B"), "uninformativeFactor"=c("X","X","X","X"))
	eset_test2 <- removeUninformativeFactors(eset_test)
	pData(eset_test)
	pData(eset_test2)

puma documentation built on Nov. 8, 2020, 11:08 p.m.