fpkm: Convert counts to FPKM values

Description Usage Arguments Value

View source: R/getFunctions.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
fpkm(counts, mean.frag.size = 500, removeShorter = F)

Arguments

counts

A numeric dataframe or matrix, with transcripts as rows.

mean.frag.size

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

removeShorter

Logical; whether to remove transcripts whose length is shorter than the mean fragment size (default FALSE).

Value

A dataframe containing the corresponding FPKM values.


plger/iPSCpoweR documentation built on Feb. 2, 2022, 1:37 a.m.