counts2tpm {autonomics} | R Documentation |
counts to tpm
counts2tpm(x, genesize)
x |
count matrix |
genesize |
genesize vector (kilobase) |
tpm matrix
file <- download_data('billing19.rnacounts.txt') object <- read_rnaseq_counts(file, cpm=FALSE, log2=FALSE, plot=FALSE) counts2tpm(counts(object), genesize=1)[1:3, 1:3]