addEnsemblAnnotation: addEnsemblAnnotation

View source: R/main_splinter.R

addEnsemblAnnotationR Documentation

addEnsemblAnnotation

Description

Adds annotation to extractSpliceEvents object (if not present)

Usage

addEnsemblAnnotation(data, species = "hsapiens")

Arguments

data

extractSpliceEvents object

species

character. biomaRt species passed to retrieve annotation. Common species include: 'hsapiens','mmusculus'

Value

extractSpliceEvents object with annotated genes under $geneSymbol

Author(s)

Diana Low

See Also

http://asia.ensembl.org/info/data/biomart/biomart_r_package.html#biomartexamples

Examples

data_path<-system.file("extdata",package="SPLINTER")
splice_data<-extractSpliceEvents(data=paste(data_path,"/skipped_exons.txt",sep=""))
#splice_data<-addEnsemblAnnotation(data=splice_data,species="mmusculus")

dianalow/SPLINTER documentation built on March 28, 2024, 2:07 p.m.