Description Usage Arguments Value Author(s) See Also Examples
View source: R/quickAnalysis.R
Compare open reading frames for two sets of paired transcripts
1 2 3 4 5 6 7 8 9 10 11 12 13 | transcriptChangeSummary(
transcriptsX,
transcriptsY,
BSgenome,
exons,
dataSet = NULL,
exportGTF = NULL,
NMD = FALSE,
compareBy = "gene",
orfPrediction = "allFrames",
compareToGene = FALSE,
selectLongest = 1
)
|
transcriptsX |
GRanges object with exon annotations for all transcripts to be compared for the 'normal' condition |
transcriptsY |
GRanges object with exon annotations for all transcripts to be compared for the 'alternative' condition |
BSgenome |
BSGenome object containing the genome for the species analysed |
exons |
GRanges object made from a GTF containing exon coordinates |
dataSet |
whippetDataSet/rMATSDataSet generated from |
exportGTF |
file name to export alternative isoform GTFs (default= |
NMD |
Use NMD predictions? This will filter ORFs out of comparisons if they are likely to be NMD-targeted. |
compareBy |
compare isoforms by 'transcript' id, or aggregate all changes occurring by 'gene' |
orfPrediction |
What type of orf predictions to return. default= |
compareToGene |
compare alternative isoforms to all normal gene isoforms (in exons) |
selectLongest |
passed to getORFs() |
Summarised ORF changes data.frame
Beth Signal
Other transcript isoform comparisons:
attrChangeAltSpliced()
,
orfDiff()
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | gtf <- rtracklayer::import(system.file("extdata", "gencode.vM25.small.gtf",
package = "GeneStructureTools"
))
exons <- gtf[gtf$type == "exon"]
g <- BSgenome.Mmusculus.UCSC.mm10::BSgenome.Mmusculus.UCSC.mm10
whippetFiles <- system.file("extdata", "whippet_small/",
package = "GeneStructureTools"
)
wds <- readWhippetDataSet(whippetFiles)
wds.exonSkip <- filterWhippetEvents(wds, eventTypes = "CE", psiDelta = 0.2)
exons.exonSkip <- findExonContainingTranscripts(wds.exonSkip, exons,
variableWidth = 0, findIntrons = FALSE
)
ExonSkippingTranscripts <- skipExonInTranscript(exons.exonSkip, exons, whippetDataSet = wds.exonSkip)
transcriptChangeSummary(ExonSkippingTranscripts[ExonSkippingTranscripts$set == "included_exon"],
ExonSkippingTranscripts[ExonSkippingTranscripts$set == "skipped_exon"],
BSgenome = g, exons
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.