get_rpkm: Calculate RPKM (Reads per kilobase per million).

View source: R/general_bioinfo.R

get_rpkmR Documentation

Calculate RPKM (Reads per kilobase per million).

Description

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


cparsania/parcutils documentation built on Oct. 27, 2024, 4:55 a.m.