AnnotateSJ.10x {MARVEL}R Documentation

Annotate splice junctions

Description

Annotates the splice junctions by assigning the gene name to the start and end of the splice junction. Annotations are retrieved from GTF.

Usage

AnnotateSJ.10x(MarvelObject)

Arguments

MarvelObject

Marvel object. S3 object generated from AnnotateGenes.10x function.

Value

An object of class S3 containing the updated slot MarvelObject$sj.metadata.

Examples


# 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)

[Package MARVEL version 1.4.0 Index]