counts2fpkm: Convert counts to FPKM values

Description Usage Arguments Value

View source: R/AllGenerics.R

Description

Convert fragment counts to FPKM values, using the sum as library size. By default, effective length is used, set mean.frag.size to 0 to use total (given) length.

Usage

1
counts2fpkm(counts, lengths, mean.frag.size = 220)

Arguments

counts

A numeric vector of counts (for one sample).

lengths

A numeric vector of same length as 'counts', indicating the length of each transcript.

mean.frag.size

A numeric value indicating the mean fragment size (default 220) used for effective length calculation.

Value

A numeric vector of the corresponding FPKM values.


plger/RNAontheBENCH documentation built on May 25, 2019, 8:22 a.m.