setAnnotations | R Documentation |
This function takes two string parameters: one to specify entrez gene ids to transcripts, the other to map gene names to entrez gene id's.
setAnnotations(txdb, entrezGene, envir = ENV)
txdb |
name of Bioconductor transcription database. |
entrezGene |
name of Bioconductor mapping of gene name or gene alias to entrez gene id |
envir |
an 'environment' that contains all the data frames created from the SQLite database. |
None
Mega2R will take care to load the necessary databases, but you will have to install them from Bioconductor. This is explained at length in the package Vignette.
db = system.file("exdata", "seqsimm.db", package="Mega2R")
ENV = read.Mega2DB(db)
setAnnotations("TxDb.Hsapiens.UCSC.hg19.knownGene", "org.Hs.eg.db")
ENV$txdb
ENV$entrezGene
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.