texpr {ballgown}R Documentation

extract transcript-level expression measurements from ballgown objects

Description

extract transcript-level expression measurements from ballgown objects

Usage

texpr(x, meas = "FPKM")

## S4 method for signature 'ballgown'
texpr(x, meas = "FPKM")

Arguments

x

a ballgown object

meas

type of measurement to extract. Can be "cov", "FPKM", or "all". Default "FPKM".

Value

transcript-by-sample matrix containing expression values (measured by meas). If meas is "all", a data frame is returned, containing all measurements and location information.

Examples

data(bg)
transcript_fpkm_matrix = texpr(bg)
transcript_data_frame = texpr(bg, 'all')

[Package ballgown version 2.10.0 Index]