Description Usage Arguments Details Value Author(s) See Also Examples
Estimate the size factors for a CountDataSet
1 2 | ## S4 method for signature 'CountDataSet'
estimateSizeFactors( object, locfunc=median, ... )
|
object |
a CountDataSet |
locfunc |
a function to compute a location for a sample. By default, the median is used. However,
especially for low counts, the |
... |
extra arguments are ignored |
You need to call this function right after newCountDataSet
unless
you have manually specified size factors.
Typically, the function is called with the idiom
cds <- estimateSizeFactors( cds )
This estimates the size factors and stores the information in the object.
Internally, the function calls estimateSizeFactorsForMatrix
. See there
for more details on the calculation.
The CountDataSet passed as parameters, with the size factors filled in.
Simon Anders, sanders@fs.tum.de
1 2 3 | cds <- makeExampleCountDataSet()
cds <- estimateSizeFactors( cds )
sizeFactors( cds )
|
Loading required package: BiocGenerics
Loading required package: parallel
Attaching package: 'BiocGenerics'
The following objects are masked from 'package:parallel':
clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
clusterExport, clusterMap, parApply, parCapply, parLapply,
parLapplyLB, parRapply, parSapply, parSapplyLB
The following objects are masked from 'package:stats':
IQR, mad, sd, var, xtabs
The following objects are masked from 'package:base':
Filter, Find, Map, Position, Reduce, anyDuplicated, append,
as.data.frame, basename, cbind, colMeans, colSums, colnames,
dirname, do.call, duplicated, eval, evalq, get, grep, grepl,
intersect, is.unsorted, lapply, lengths, mapply, match, mget,
order, paste, pmax, pmax.int, pmin, pmin.int, rank, rbind,
rowMeans, rowSums, rownames, sapply, setdiff, sort, table, tapply,
union, unique, unsplit, which, which.max, which.min
Loading required package: Biobase
Welcome to Bioconductor
Vignettes contain introductory material; view with
'browseVignettes()'. To cite Bioconductor, see
'citation("Biobase")', and for packages 'citation("pkgname")'.
Loading required package: locfit
locfit 1.5-9.1 2013-03-22
Loading required package: lattice
Welcome to 'DESeq'. For improved performance, usability and
functionality, please consider migrating to 'DESeq2'.
A1 A2 B1 B2 B3
0.9773959 1.2658956 0.6735682 0.8705506 1.5389932
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.