Simple low-level function used within tximport to generate
lengthScaledTPM counts, taking as input
the original counts, abundance and length matrices.
NOTE: This is a low-level function exported in case it is needed for some reason,
but the recommended way to generate counts-from-abundance is using
tximport with the
1 2 3 4 5 6
a matrix of original counts
a matrix of abundances (typically TPM)
a matrix of effective lengths
the desired type of count-from-abundance output
a matrix of count-scale data generated from abundances. for details on the calculation see tximport.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.