Skip to contents

given the raw counts and length of genomic features this function returns normalized counts as tags per million (TPM).

Usage

get_tpm(counts, lengths)

Arguments

counts

a numeric vector giving counts of reads aligned against genomic intervals.

lengths

a numeric vector giving length of genomic intervals.

Value

a numeric vector giving TPM