Description Usage Arguments Value Author(s) See Also Examples
Creates transcript isoforms from alternative intron usage tested by leafcutter
1 2 3 4 5 6 | alternativeIntronUsage(
altIntronLocs,
exons,
replaceInternalExons = TRUE,
junctions = NULL
)
|
altIntronLocs |
data.frame containing information from the per_intron_results.tab file output from leafcutter. Note that only one cluster of alternative introns can be processed at a time. |
exons |
GRanges object made from a GTF with ONLY exon annotations (no gene, transcript, CDS etc.) |
replaceInternalExons |
replace any internal transcript exons with inferred exons from multi-intron leafcutter intron sets? |
junctions |
GRanges object from readLeafcutterJunctions() |
GRanges object with all potential alternative isoforms skipping the introns specified in either the upregulated or downregulated locations
Beth Signal
Other leafcutter splicing isoform creation:
leafcutterIntronsToExons()
,
makeNewLeafExonsUnanchored()
,
makeNewLeafExons()
,
readLeafcutterJunctions()
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | leafcutterFiles <- list.files(system.file("extdata", "leaf_small/",
package = "GeneStructureTools"
), full.names = TRUE)
leafcutterIntrons <- read.delim(leafcutterFiles[grep(
"intron_results",
leafcutterFiles
)], stringsAsFactors = FALSE)
gtf <- rtracklayer::import(system.file("extdata", "gencode.vM25.small.gtf",
package = "GeneStructureTools"
))
exons <- gtf[gtf$type == "exon"]
# single cluster processing
cluster <- leafcutterIntrons[leafcutterIntrons$cluster == "chr17:clu_20975_+", ]
altIsoforms20975 <- alternativeIntronUsage(cluster, exons)
unique(altIsoforms20975$transcript_id)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.