diffSplice(fit, geneid, exonid=NULL, robust=FALSE, verbose=TRUE)
MArrayLM
fitted model object produced by lmFit
or contrasts.fit
. Rows should correspond to exons.nrow(fit)
or the name of the column of fit$genes
containing the gene identifiers. Rows with the same ID are assumed to belong to the same gene.nrow(fit)
or the name of the column of fit$genes
containing the exon identifiers.TRUE
some diagnostic information about the number of genes and exons is output.MArrayLM
containing both exon level and gene level tests.
Results are sorted by geneid and by exonid within gene.
fit
. Each coefficient is the difference between the log-fold-change for that exon versus the average log-fold-change for all other exons for the same gene.fit
.genes
containing gene IDsgene.F
fit
.Testing for differential exon usage is equivalent to testing whether the log-fold-changes in the fit
differ between exons for the same gene.
Two different tests are provided.
The first is an F-test for differences between the log-fold-changes.
The other is a series of t-tests in which each exon is compared to the average of all other exons for the same gene.
The exon-level t-tests are converted into a genewise test by adjusting the p-values for the same gene by Simes method.
The minimum adjusted p-value is then used for each gene.
This function can be used on data from an exon microarray or can be used in conjunction with voom for exon-level RNA-seq counts.
topSplice
, plotSplice
A summary of functions available in LIMMA for RNA-seq analysis is given in 11.RNAseq.
## Not run:
# v <- voom(dge,design)
# fit <- lmFit(v,design)
# ex <- diffSplice(fit,geneid="EntrezID")
# topSplice(ex)
# plotSplice(ex)
# ## End(Not run)
Run the code above in your browser using DataLab