tpm | R Documentation |
Convert count matrix to TPM values
tpm(x, gene.length)
x |
A count matrix or other objects that can be converted to a matrix
by |
gene.length |
A numeric vector of the same length as the row count of
|
transcripts per million (TPM) values
rpkm2tpm
testMatrix <- matrix(rnbinom(200, size=5, prob=0.1), nrow=20, ncol=10)
testMatrixGeneLen <- as.integer(10^rnorm(20, mean=3, sd=0.5))
testMatrixTpm <- tpm(testMatrix, testMatrixGeneLen)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.