View source: R/Script_DROPLET_02_PREPROCESS_3_ValidateSJ.R
ValidateSJ.10x | R Documentation |
Retains splice junctions whose start and end belong to the same gene.
ValidateSJ.10x(MarvelObject, keep.novel.sj = FALSE)
MarvelObject |
Marvel object. S3 object generated from |
keep.novel.sj |
Logical value. If set to |
An object of class S3 containing the updated slots MarvelObject$sj.metadata
and MarvelObject$sj.count.matrix
.
# Load un-processed MARVEL object marvel.demo.10x.raw <- readRDS(system.file("extdata/data", "marvel.demo.10x.raw.rds", package="MARVEL") ) # Annotate gene metadata marvel.demo.10x <- AnnotateGenes.10x(MarvelObject=marvel.demo.10x.raw) # Annotate junction metadata marvel.demo.10x <- AnnotateSJ.10x(MarvelObject=marvel.demo.10x) # Validate junctions marvel.demo.10x <- ValidateSJ.10x(MarvelObject=marvel.demo.10x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.