Methods
Public methods
DataCatalog$new()
Bind catalogue sets to the levels of one result; apb, APB’s own fields, is always in.
Usage
DataCatalog\$new(result, ..., enforce = NULL)
Arguments
-
result
-
A ParsedLevels object.
-
…
-
The catalogue sets, such as
“abundance” and “confidence”; see catalogues().
-
enforce
-
NULL, “MUST” or “SHOULD”: signal MissingRequiredField when a field a set requires at that strength is missing.
DataCatalog$fields()
Every catalogued field of the result in every composed set, one row per field, as catalogue_table() shows them.
Usage
Returns
A data frame with present and, for a field apb2 left out because it held one value, that constant.
DataCatalog$print()
Print the set and the levels.
Usage
Arguments
DataCatalog$clone()
The objects of this class are cloneable with this method.
Usage
DataCatalog\$clone(deep = FALSE)
Arguments
-
deep
-
Whether to make a deep clone.