addEnsemblAnnotation

Description

Adds annotation to extractSpliceEvents object (if not present)

Usage

1
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

1
2
3
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")