Skip to contents

Fits a geometric mean for each gene with positive counts in every reference sample. Each new sample is divided by its own median-of-ratios size factor, computed in log space using positive counts for genes shared with the reference. No scaling across the new samples is performed.

Usage

rsem_fit_normalization(x)

rsem_apply_normalization(x, reference)

Arguments

x

Gene-by-sample table of untransformed expected counts.

reference

Result of rsem_fit_normalization().

Value

The fit returns an rsem_normalization object. The apply function returns a data frame with the original rows and columns and a named "factors" attribute.