from_to | R Documentation |
pass a named vector to replace values in a second vector
from_to(vec, old_new_map_vec)
vec |
Vector of genomic region strings |
old_new_map_vec |
named vector with names and values corresponding to old + new pairs of values |
... |
Additional arguments passed to |
#map values from old to new
from_to(vec = c('T_cell', 'B_cells_2', 'B_cell_1'),
old_new_map_vec = c('B_cells_1' = 'B cell','B_cells_2' = 'B cell'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.