Learn R Programming

ABSSeq (version 1.2.0)

sizeFactors: Accessors for the 'sizeFactor' slot of a ABSDataSet object.

Description

Accessor functions for the 'sizeFactor' slot of a ABSDataSet object.

Usage

"sizeFactors"(object)
"sizeFactors"(object)<-value

Arguments

object
an ABSDataSet object.
value
a numeric object, one for each sample

Details

The sizeFactors vector assigns to each sample a value, used to normalize the counts in each sample according to selected normMethod.

See Also

normalFactors

Examples

Run this code
obj <- ABSDataSet(counts=simuN5$counts, groups=factor(simuN5$groups))
obj <- normalFactors(obj)
sizeFactors(obj)
sizeFactors(obj) <- runif(10,1,2)
sizeFactors(obj)

Run the code above in your browser using DataLab