freshenGenes2 | R Documentation |
Freshen gene annotations using Bioconductor annotation data
freshenGenes2( x, ann_lib = c("", "org.Hs.eg.db"), try_list = c("SYMBOL2EG", "ACCNUM2EG", "ALIAS2EG"), final = c("SYMBOL", "GENENAME"), 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
to the default value for
final=c("SYMBOL", "GENENAME")
.
It therefore returns two (2
) annotation columns by default,
the gene symbol, and the long gene name.
Other genejam:
freshenGenes3()
,
freshenGenes()
,
get_anno_db()
,
is_empty()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.