Description Usage Arguments Value Examples
plot_sashimi
plots the splicing events and coverage over a specific
genes/transcript and/or genomic region of interest. The plotting are built
from ggplot2
functions.
1 2 3 4 5 6 7 8 9 10 11 12 |
junctions |
junction data as a RangedSummarizedExperiment-class object. |
ref |
either path to gtf/gff3 or object of class TxDb-class. |
gene_tx_id |
gene name as ensembl id, ensembl transcript id or gene name. |
case_id |
list of one element. This must be a character vector containing the |
sum_func |
list of one element. This must be a character vector containing the |
region |
a GenomicRanges of length 1 that is used to filter the exons/junctions. Only those that overlap this region are plotted. |
annot_colour |
character vector of colours for junction types. One value must be supplied labelling each of the 7 possible types. |
digits |
used in |
count_label |
logical value specifying whether to add label the count of each junction. |
ggplot
displaying the splicing (and coverage) surrounding the
transcript/region of interest.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | # use GenomicState to load txdb (GENCODE v31)
ref <- GenomicState::GenomicStateHub(
version = "31",
genome = "hg38",
filetype = "TxDb"
)[[1]]
junctions_processed <- junction_process(
junctions_example,
ref,
types = c("ambig_gene", "unannotated")
)
sashimi_plot <- plot_sashimi(
junctions = junction_filter(junctions_processed),
ref = ref,
gene_tx_id = "ENSG00000142156.14",
sum_func = NULL
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.