sizeFactors: SizeFactors accessor and estimation function

Description Usage Arguments Details Value See Also Examples

Description

Accessor functions for the 'sizeFactors' information in a OutriderDataSet object.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## S4 method for signature 'OutriderDataSet'
sizeFactors(object)

## S4 replacement method for signature 'OutriderDataSet,numeric'
sizeFactors(object) <- value

## S4 replacement method for signature 'OutriderDataSet,'NULL''
sizeFactors(object) <- value

## S4 method for signature 'OutriderDataSet'
estimateSizeFactors(object)

Arguments

object

OutriderDataSet

value

A numberic vector of sizeFactors

Details

The estimation of the size factors can also make use of the existing log geometric means in the object. Those can be loaded from an existing model.

Value

An OutriderDatasSet with the estimated sizeFactors, or with the getter function it returns a numeric vector containing the sizeFactors.

See Also

estimateSizeFactors

Examples

1
2
3
4
5
6
7
8
ods <- makeExampleOutriderDataSet()
ods <- estimateSizeFactors(ods)
head(sizeFactors(ods))

sizeFactors(ods) <- runif(dim(ods)[2], 0.5, 1.5)
sizeFactors(ods)
counts(ods, normalized=TRUE)[1:10,1:10]
        

gagneurlab/OUTRIDER documentation built on Oct. 24, 2020, 6:49 p.m.