getNormTheta: Get Per-Feature Theta

Description Usage Arguments Details Value

View source: R/8-get.R

Description

The getNormTheta function calculates the differential proportionality between each feature and a set of normalization factors. When the normalization factors correctly remove the compositional bias, the resultant thetas indicate differential expression (DE). However, unlike other DE tests, the p-value for differential proportionality is not linked to the normalization factors. Here, normalization factors only affect the interpretation, not the statistics.

Usage

1
getNormTheta(object, norm.factors)

Arguments

object

Any propd object.

norm.factors

A numeric vector. The effective library size normalization factors (e.g., from edgeR or DESeq2).

Details

For use in conjunction with getColours.

Value

A numeric vector. A theta for each feature.


propr documentation built on Dec. 16, 2019, 9:30 a.m.