| normExp | R Documentation |
Normalize the expression data of any type of experiment by columns, applying log(x + 1)/log(2).
normExp(tab)
tab |
A matrix or dataframe of expression data (i.e. TPM, counts, FPKM). |
Returns a table with normalized values.
# loading a simulated counts data
data('simCounts')
# getting the TPM matrix from counts
tpm <- apply(simCounts, 2, function(x) {
(1e+06 * x)/sum(x)
})
# normalizing TPM data
norm <- normExp(tpm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.