likely_symbol {convertid} | R Documentation |
Retrieve Symbol Aliases and Previous symbols to determine a likely current symbol
Description
likely_symbol()
downloads the latest version of the HGNC gene symbol database as a text
file and query it to obtain symbol aliases, previous symbols and all symbols currently in use. (Optionally)
assuming the input ID to be either an Alias or a Symbol or a Previous Symbol it performs multiple queries and
compares the results of all possible combinations to determine a likely current Symbol.
Usage
likely_symbol(
syms,
alias_sym = TRUE,
prev_sym = TRUE,
orgnsm = "human",
hgnc = NULL,
hgnc_url = NULL,
output = c("likely", "symbols", "all"),
verbose = TRUE
)
Arguments
syms |
( |
alias_sym |
( |
prev_sym |
( |
orgnsm |
( |
hgnc |
( |
hgnc_url |
( |
output |
( |
verbose |
( |
Details
Please note that the algorithm is very slow for large input vectors.
Value
A data.frame
with the following columns depending on the output
setting.
output="likely"
:
'likely_symbol' | |
'input_symbol' | |
output="symbols"
:
'current_symbols' | |
'likely_symbol' | |
'input_symbol' | |
'all_symbols' | |
output="all"
:
'orig_input' | |
'organism' | |
'current_symbols' | |
'likely_symbol' | |
'input_symbol' | |
'all_symbols' | |
Note
Only fully implemented for Human for now.
Examples
## Not run:
likely_symbol(c("ABCC4", "ACPP", "KIAA1524"))
## End(Not run)