Converts read counts to RPKM normalized values.

returnRPKM(counts, ranges)

Arguments

counts

Count data frame, e.g. from an RNA-Seq experiment.

ranges

GRangesList object, e.g. generated by exonsBy(txdb, by="gene").

Value

data.frame

Author

Thomas Girke

Examples

if (FALSE) {
countDFrpkm <- apply(countDF, 2, function(x) returnRPKM(counts=x, gffsub=eByg))
}