Description Usage Arguments Value
Create a new BioSamples table using a named template and existing sample attributes.
1 2 | build_biosamples_from_template(package_name, sample_attrs,
submission = NULL, col_pairs = NULL, constants = NULL)
|
package_name |
name of BioSample Package for the template to use, as
either the display name (e.g., "MIGS: cultured bacteria/archaea,
human-associated; version 4.0") or the short name (e.g.,
"MIGS.ba.human-associated.4.0"). Call |
sample_attrs |
data frame of existing sample metadata to draw from. Any
names given in the |
submission |
the accession assigned by the submission portal for the submission, like "SUB####". Will be attached to the output data frame as an attribute. |
col_pairs |
named vector of column names in the existing data frame with names set to column names in the new data frame. Vector names that don't match known column names signify custom columns to add. |
constants |
vector of field names to match to constant values for all samples. |
data frame with BioSample attributes defined.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.