sizeFactor: Estimate size factor for each sample.

Description Usage Arguments Value Examples

Description

Estimate size factor for each sample using median normalization method.

Usage

1
sizeFactor(d,maxCount)

Arguments

d

This is a PLNseq object.

maxCount

The maximal count after shrinkage, with a default value NA (no shrinkage).

Value

d$sample$sizeFactor

Estimated size factors

Examples

1
2
3
4
    data(lung);
    count = lung[,c(2:4,8:10)];
    d = PLNobject(count,conditionNumber=2);
    d = sizeFactor(d,maxCount=2e3);

zhanghfd/PLNseq documentation built on May 4, 2019, 10:16 p.m.