exonStructure(mrna, genome, maxMismatch=4, y=0)
The function works by sequentially comparing each exon to the mrna. The location of the match start and end is taken as the exon boundaries and plotted. If more than one match is found a warning is given. If no match is found for an exon this is printed, but otherwise ignored. The mrna can in fact also be DNA sequence with introns. The important thing is that it serves as template for the exon matching.
Importantly, the exon-numbers technically refer to "number of exon in investigated transcript". For example if an DNA with exon structure for an isoform which does not include all exons in the gene is investigated, then there will be skips of exon numbers. To avoid this, the DNA for an isoform which do include all exons could be used. However, it is really more a biological issue: different sources can differ on where to start the counting for a given gene in any case.
geneRegionScan
, plotOnGene
data(exampleProbeLevelSet)
plotOnGene(exampleProbeLevelSet, mrna, label="gender", testType="wilcoxon")
exonStructure(mrna, genomic, maxMismatch=2)
Run the code above in your browser using DataLab