View source: R/script - base tools.R
Use to add a column (value) to a dataset (samples), from another dataset (lookup), based on an identifier that exists in both (id_lookup)
1 2 3 4 5 6 7 8 | lookup_olde(
df_samples,
df_lookup,
id_column,
value_column,
default = NA,
overwrite = T
)
|
df_samples |
samples to look up |
df_lookup |
dataframe to look up against |
id_column |
common column between the two sets containing unique identifiers for rows |
value |
the value that is looked up and added to df_samples |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.