given the raw counts and length of genomic features this function returns normalized counts as tags per million (TPM).
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