recode.character2 | R Documentation |
Modified 'dplyr::recode' function
## S3 method for class 'character2'
recode(.x, ..., .default = NULL, .missing = NULL, .missing_fun)
.x |
A vector to modify |
... |
< When named, the argument names should be the current values to be replaced, and the argument values should be the new (replacement) values. All replacements must be the same type, and must have either
length one or the same length as |
.default |
If supplied, all values not otherwise matched will
be given this value. If not supplied and if the replacements are
the same type as the original values in
|
.missing |
If supplied, any missing values in |
.missing_fun |
Function to modify any missing homologs/strings 'NULL' by default and any missing values will be discarded. For example, one could be set it to 'str_to_title' to format all symbols, or any other format in a scenario where a homolog dictionary is not available for the organism of interest. |
enables to modify unmatched genesymbols
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.