Skip to contents

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

Mike Love