modelFrameForGene {DEXSeq}R Documentation

Makes the model frame for a geneID.

Description

Creates a data frame containing the model frame for a gene with the columns sample, exon, size factors, their respective counts and the design annotation.

Usage

modelFrameForGene(ecs, geneID, onlyTestable=FALSE)

Arguments

ecs

An ExonCountSet object.

geneID

A gene identificator contained in the ExonCountSet object.

onlyTestable

If TRUE, only the testable exons will be included in the model frame. Check fData$testable for more information.

Value

A data frame containing the model frame for a gene.

Examples

data("pasillaExons", package="pasilla")
modelFrameForGene(pasillaExons, "FBgn0085442")

[Package DEXSeq version 1.0.2 Index]