given the raw counts and length of genomic features this function returns normalized counts as reads per kilo-base per million (RPKM).
Usage
get_rpkm(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 RPKM