rename_samples | R Documentation |
Rename the samples by substituting column names in the taxa table and row names in the metadata map with values from a metadata map column that you specify. Note that all values in the metadata map column must be unique.
rename_samples(input, name_header)
input |
The input dataset as loaded by |
name_header |
The header value in the metadata map that will be used to rename the samples. |
fruits_veggies$map_loaded$alt_id = paste0('alt', 1:nrow(fruits_veggies$map_loaded)) rename_samples(fruits_veggies, 'alt_id')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.