symbol_annot | R Documentation |
Function first maps entrez gene ids to homologous human entrez gene ids and then to hgnc symbols.
symbol_annot(eset, gse_name = "", ensql = NULL)
eset |
Expression set to annotate. |
gse_name |
GSE name for eset. |
ensql |
For development. Path to sqlite file with ENTREZID and SYMBOL columns created in data-raw/entrezdt. |
Initial entrez gene ids are obtained from bioconductor annotation data packages or from feature data of supplied expression set. Homologous human entrez ids are obtained from homologene and then mapped to hgnc symbols using org.Hs.eg.db. Expression set is expanded if 1:many mappings occur.
Expression set with hgnc symbols ("SYMBOL") and row names ("PROBE") added to fData slot.
load_raw
.
library(lydata)
# location of raw data
data_dir <- system.file("extdata", package = "lydata")
# load eset
eset <- load_raw("GSE9601", data_dir)[[1]]
# annotate eset (need if load_raw failed to annotate)
eset <- symbol_annot(eset)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.