addEnsemblAnnotation {SPLINTER} | R 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")

[Package SPLINTER version 1.20.0 Index]