DEXSeq (version 1.18.4)

estimateSizeFactors: Estimate the size factors for a DEXSeqDataSet

Description

Estimate the size factors for a DEXSeqDataSet

Usage

"estimateSizeFactors"(object,locfunc=median,geoMeans)

Arguments

object
a DEXSeqDataSet
locfunc
a function to compute a location for a sample. By default, the median is used. However, especially for low counts, the shorth function from the genefilter package may give better results.
geoMeans
by default this is not provided and the geometric means of the counts are calculated within the function. A vector of geometric means from another count matrix can be provided for a "frozen" size factor calculation

Value

The DEXSeqDataSet passed as parameters, with the size factors filled in.

Details

This function calls the method estimateSizeFactors for the DESeqDataSet object, and adapts it to the specific use to the DEXSeqDataSet.

References