View source: R/Script_DROPLET_09_ADHOC_GENE_6_PlotSJPositions.R
adhocGene.PlotSJPosition.10x | R Documentation |
Plots the locations of specified splice junction relative to isoforms. List of isoforms are retrieved from GTF.
adhocGene.PlotSJPosition.10x( MarvelObject, coord.intron, coord.intron.ext = 50, rescale_introns = FALSE, show.protein.coding.only = TRUE, anno.label.size = 3, anno.colors = c("black", "gray", "red") )
MarvelObject |
Marvel object. S3 object generated from |
coord.intron |
Character string. Coordinates of splice junction whose splice junction will be plotted. |
coord.intron.ext |
Numeric value. Number of bases to extend the splice junction start and end coordinates into the exons. Helpful to enhance splice junction locations on the plot. Default is |
rescale_introns |
Logical value. If set to |
show.protein.coding.only |
Logical value. If set to |
anno.label.size |
Numeric value. Font size of isoform ID labels. Default is |
anno.colors |
Vector of character strings. Colors for non-coding UTRs, coding exons, and splice junctions, respectively. Default is |
An object of class S3 with new slots MarvelObject$adhocGene$SJPosition$Plot
, MarvelObject$adhocGene$SJPosition$metadata
, MarvelObject$adhocGene$SJPosition$exonfile
, and MarvelObject$adhocGene$SJPosition$cdsfile
.
marvel.demo.10x <- readRDS(system.file("extdata/data", "marvel.demo.10x.rds", package="MARVEL") ) marvel.demo.10x <- adhocGene.PlotSJPosition.10x( MarvelObject=marvel.demo.10x, coord.intron="chr1:100:1001", rescale_introns=FALSE, show.protein.coding.only=TRUE, anno.label.size=1.5 )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.