counts2tpm: counts to tpm

counts2tpmR Documentation

counts to tpm

Description

counts to tpm

Usage

counts2tpm(x, genesize)

Arguments

x

count matrix

genesize

genesize vector (kilobase)

Value

tpm matrix

Examples

file <- system.file('extdata/billing19.rnacounts.txt', package = 'autonomics')
object <- read_rnaseq_counts(file)
counts(object)[1:3, 1:3]
counts2tpm(counts(object), genesize = 1)[1:3, 1:3]

bhagwataditya/autonomics documentation built on Nov. 1, 2024, 5:47 a.m.