Calculates TPM for a heavily subsetted DGEobj. The function will calculate TPM using the original data but returns a DGEobj with the subset.
A DGEobj data structure
Default = TRUE. If TRUE, reduces to the filtered gene list. FALSE returns all genes in the raw data.
TPM should be calculated on a full dataset with only low signal genes removed. tpm.on.subset therefore allows calculation of TPM after heavy filtering of a DGEobj.
Internally, convertCounts uses edgeR::fpkm() to calculate FPKM and converts to TPM using the formula provided by [Harold Pimental](https://haroldpimentel.wordpress.com/2014/05/08/what-the-fpkm-a-review-rna-seq-expression-units/).
A matrix of TPM values
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.