freshenGenes3 | R Documentation |
Freshen gene annotations using Bioconductor annotation data
freshenGenes3( x, ann_lib = c("", "org.Hs.eg.db"), try_list = c("SYMBOL2EG", "ACCNUM2EG", "ALIAS2EG"), final = c("SYMBOL", "GENENAME", "ALIAS"), split = "[ ]*[,/;]+[ ]*", sep = ",", handle_multiple = c("first_try", "first_hit", "all", "best_each"), empty_rule = c("empty", "original", "na"), include_source = FALSE, protect_inline_sep = TRUE, intermediate = "intermediate", verbose = FALSE, ... )
x |
character vector or |
ann_lib |
character vector indicating the name or names of the Bioconductor annotation library to use when looking up gene nomenclature. |
try_list |
character vector indicating one or more names of
annotations to use for the input gene symbols in |
final |
character vector to use for the final conversion
step. When |
split |
character value used to separate delimited values in |
sep |
character value used to concatenate multiple entries in
the same field. The default |
handle_multiple |
character value indicating how to handle multiple
values: |
empty_rule |
character value indicating how to handle entries which
did not have a match, and are therefore empty: |
include_source |
logical indicating whether to include a column
that shows the colname and source matched. For example, if column
|
protect_inline_sep |
logical indicating whether to
protect inline characters in |
intermediate |
|
verbose |
logical indicating whether to print verbose output. |
This function is a convenient extension of freshenGenes()
that adds GENENAME
and ALIAS
to the default value for
final=c("SYMBOL", "GENENAME", "ALIAS")
.
It therefore returns three (3
) annotation columns by default,
the gene symbol, the long gene name, and the common gene aliases.
The gene aliases often includes numerous previous gene symbols
attributed to the gene.
Other genejam:
freshenGenes2()
,
freshenGenes()
,
get_anno_db()
,
is_empty()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.