sFactors {ABSSeq} | R Documentation |
Accessor functions for the 'sizeFactor' slot of a ABSDataSet object.
## S4 method for signature 'ABSDataSet' sFactors(object) ## S4 replacement method for signature 'ABSDataSet,numeric' sFactors(object)<-value
object |
an |
value |
a numeric object, one for each sample |
The sizeFactors vector assigns to each sample a value, used to normalize the counts in each sample according to selected normMethod.
data(simuN5) obj <- ABSDataSet(counts=simuN5$counts, groups=factor(simuN5$groups)) obj <- normalFactors(obj) sFactors(obj) sFactors(obj) <- runif(10,1,2) sFactors(obj)