View source: R/add_genomic_data.R
add_genomic_data | R Documentation |
Merge the metadata and genomic_data by the col_merge. Metadata and genomic_data must have the same name of the column that will be used for merge.
add_genomic_data( metadata, genomic_data, var_names_merge, var_names_count, var_names_time )
metadata |
the dataset metadata containing the column col_merge |
genomic_data |
The dataset containing the substitutions, deletions and missing data. The form of this dataset is based on the output of nextclade and differents mutation. |
var_names_count |
the name of the column used to desaggregate the metadata |
var_names_time |
the name of the column where the dates are found format = "%Y-%m-%d" |
col_merge |
The name of the column that will be used to merge the data |
mutation |
The function adds according to col_merge the columns of mutations coming from genomic_data in metadata
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.