makeCountsFromAbundance | R Documentation |
Simple low-level function used within tximport to generate
scaledTPM
or 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 countsFromAbundance
argument.
makeCountsFromAbundance(
countsMat,
abundanceMat,
lengthMat,
countsFromAbundance = c("scaledTPM", "lengthScaledTPM")
)
countsMat |
a matrix of original counts |
abundanceMat |
a matrix of abundances (typically TPM) |
lengthMat |
a matrix of effective lengths |
countsFromAbundance |
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.