View source: R/Script_DROPLET_02_PREPROCESS_1_AnnotateGenes.R
AnnotateGenes.10x | R Documentation |
Annotates the each gene in the gene metadata with the gene type, e.g. protein-coding, antisense etc.. Annotations are retrieved from GTF. Only genes found in gene metadata and GTF will be retained.
AnnotateGenes.10x(MarvelObject)
MarvelObject |
Marvel object. S3 object generated from |
An object of class S3 containing the updated slots MarvelObject$gene.metadata
and gene.norm.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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.