Collection | R Documentation |
This is a constructor for the Collection class. It creates a Collection object for use in a Microbiome Dataset.
Collection(name, data, recordIdColumn, ancestorIdColumns)
## S4 method for signature 'character,data.frame,character,character'
Collection(name, data, recordIdColumn, ancestorIdColumns)
## S4 method for signature 'character,data.frame,missing,missing'
Collection(name, data, recordIdColumn, ancestorIdColumns)
## S4 method for signature 'character,character,missing,missing'
Collection(name, data, recordIdColumn, ancestorIdColumns)
## S4 method for signature 'character,character,character,character'
Collection(name, data, recordIdColumn, ancestorIdColumns)
## S4 method for signature 'missing,missing,missing,missing'
Collection(name, data, recordIdColumn, ancestorIdColumns)
name |
The human-readable name of the collection. This can be anything that helps to identify the collection uniquely to the user. |
data |
A data.frame or a character vector representing a file path to a data.frame |
recordIdColumn |
The name of the column in the data.frame that contains the record id |
ancestorIdColumns |
A character vector of column names representing parent entities of the recordIdColumn |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.