| testForDEU {DEXSeq} | R Documentation |
This function tests for differential exon usage for each of
the exons in the object. It stores the results in the fields
fData(ecs)$pvalue and fData(ecs)$padjust.
testForDEU( ecs, formula0 = ~ sample + exon, formula1 = ~ sample + exon + condition : exon, dispColumn="dispersion", nCores = 1 )
ecs |
An ExonCountSet object. |
formula0 |
Formula for the null model to be used in the GLM fit. |
formula1 |
Formula for the full model to be used in the GLM fit. |
dispColumn |
Column name from the feature data frame from where to take the dispersions. |
nCores |
Number of CPUcores to be used to calculate the $p$-values.
The |
The terms in the formulas must be columns of design(ecs).
An ExonCountSet object with fData(ecs)$pvalue and
fData(ecs)$padjust data slots filled.
## Not run:
data("pasillaExons", package="pasilla")
pasillaExons <- estimateSizeFactors( pasillaExons )
pasillaExons <- estimateDispersions( pasillaExons )
pasillaExons <- fitDispersionFunction( pasillaExons )
pasillaExons <- testForDEU( pasillaExons )
## End(Not run)