xSymbol2GeneID | R Documentation |
xSymbol2GeneID
is supposed to convert gene symbols to entrez
geneid.
xSymbol2GeneID(data, check.symbol.identity = F, verbose = T, RData.location = "http://galahad.well.ox.ac.uk/bigdata")
data |
an input vector containing gene symbols |
check.symbol.identity |
logical to indicate whether to match the input data via Synonyms for those unmatchable by official gene symbols. By default, it sets to false |
verbose |
logical to indicate whether the messages will be displayed in the screen. By default, it sets to false for no display |
RData.location |
the characters to tell the location of built-in
RData files. See |
a vector containing entrez geneid with 'NA' for the unmatched
none
xEnricherGenes
, xSocialiserGenes
## Not run: # Load the library library(XGR) # a) provide the input Genes of interest (eg 100 randomly chosen human genes) ## load human genes org.Hs.eg <- xRDataLoader(RData='org.Hs.eg') Symbol <- as.character(sample(org.Hs.eg$gene_info$Symbol, 100)) Symbol # b) convert into GeneID GeneID <- xSymbol2GeneID(Symbol) ## End(Not run)