Skip to contents

An R6 class representing the Protocol field of a CompoundProperties. References a Protocol building block by name and lists per-application FormulationSelections mapping formulation keys to formulation building blocks.

Active bindings

data

The raw data of the selection (read-only). Rebuilt from the cached FormulationSelection list so that mutations flow back to the export payload.

name

The name of the protocol building block. Writable: must be a non-empty scalar string.

formulations

List of FormulationSelection objects.

Methods


ProtocolSelection$new()

Create a new ProtocolSelection object.

Usage

Arguments

data

Raw ProtocolSelection data from a snapshot.

Returns

A new ProtocolSelection object.


ProtocolSelection$clone()

The objects of this class are cloneable with this method.

Usage

ProtocolSelection$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.