An R6 mapping type for configuring various “parameters” for multiple
“platforms”, essentially serves a multi-nested map where the inner
map is a ScalarMap
contained within a ConfigList
(middle map):
{platform: {param: {key: value}}}
Super class
tiledbsoma::MappingBase
-> PlatformConfig
Methods
Inherited methods
Method params()
Method get()
Usage
PlatformConfig$get(
platform,
param = NULL,
key = NULL,
default = quote(expr = )
)
Arguments
platform
The name of the “platform” (outer key) to fetch
param
The name of the “paramters” of
platform
to fetch; ifNULL
, returns the configuration forplatform
key
The “key” (inner key) for
param
inplatform
to fetch; ifNULL
andparam
is passed, returns the map forparam
inplatform
default
Default value to fetch if
key
is not found; defaults tonull
Method get_params()
Returns
The ConfigList
for platform
Method set()
Arguments
platform
The name of the “platform” (outer key) to set
param
Name of the “parameter” (middle key) in
platform
to setkey
Inner key to set
value
Value to add for
key
, orNULL
to remove the entry forkey
; optionally provide onlyplatfomr
,param
, andvalue
as aScalarMap
to updateparam
forplatform
with the keys and values fromvalue