Description Usage Arguments Details Value Examples
Loads a metadata table and reformats it for downstream analysis. This needs to include at minimum two columns: sample name, and sample source.
1 | load_map(x, sample_col, source_col)
|
x |
Path to a TSV file or tidy dataframe (e.g. tibble) with a column containing sample names and other grouping metadata columns. |
sample_col |
A column name specifying which column should be used to specify sample names. |
source_col |
A column name specifying which group or the source the sample is from. |
The two columns required need to include the following information:
Sample name - a unique identifier for each sample
Sample source - a grouping ID indicating what 'source' the sample is from This is used for plotting to separate comparative 'sources' to your own samples.
A tibble, formatted for use in downstream cuperdec functions.
1 2 3 4 5 | data(cuperdec_metadata_ex)
metadata_table <- load_map(cuperdec_metadata_ex,
sample_col = "#SampleID",
source_col = "Env"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.