Learn R Programming

ballgown (version 2.4.2)

gexpr: extract gene-level expression measurements from ballgown objects

Description

For objects created with Cufflinks/Tablemaker, gene-level measurements are calculated by appropriately combining FPKMs from the transcripts comprising the gene. For objects created with RSEM, gene-level measurements are extracted directly from the RSEM output.

Usage

gexpr(x)
"gexpr"(x)

Arguments

x
a ballgown object

Value

gene-by-sample matrix containing per-sample gene measurements.

Examples

Run this code
data(bg)
gene_matrix = gexpr(bg)

Run the code above in your browser using DataLab