calculateFPKM: Calculate fragments per kilobase of exon per million reads...

Description Usage Arguments Value Examples

View source: R/calculate-expression.R

Description

Calculate fragments per kilobase of exon per million reads mapped (FPKM) values for expression from counts for a set of features.

Usage

1
calculateFPKM(object, effective_length, use.size.factors = TRUE)

Arguments

object

an SCESet object

effective_length

vector of class "numeric" providing the effective length for each feature in the SCESet object

use.size.factors

a logical scalar, see calculateCPM

Value

Matrix of FPKM values.

Examples

1
2
3
4
5
data("sc_example_counts")
data("sc_example_cell_info")
example_sceset <- newSCESet(countData = sc_example_counts)
effective_length <- rep(1000, 2000)
fpkm(example_sceset) <- calculateFPKM(example_sceset, effective_length)

scater documentation built on May 20, 2017, 10:39 p.m.

Search within the scater package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.