matrix2tpm: matrix2tpm

View source: R/rnaseq_helpers.R

matrix2tpmR Documentation

matrix2tpm

Description

calculate TPMs from a matrix and a vector of feature lengths

Usage

matrix2tpm(counts, len)

Arguments

counts

raw counts, as a data.frame or matrix

len

a vector of feature lengths, in Kbp

Value

a matrix of TPMs

Author(s)

Mike Love


drejom/helpeRs documentation built on Aug. 26, 2022, 4:52 a.m.