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
platformThe name of the “platform” (outer key) to fetch
paramThe name of the “paramters” of
platformto fetch; ifNULL, returns the configuration forplatformkeyThe “key” (inner key) for
paraminplatformto fetch; ifNULLandparamis passed, returns the map forparaminplatformdefaultDefault value to fetch if
keyis not found; defaults tonull
Method get_params()
Returns
The ConfigList for platform
Method set()
Arguments
platformThe name of the “platform” (outer key) to set
paramName of the “parameter” (middle key) in
platformto setkeyInner key to set
valueValue to add for
key, orNULLto remove the entry forkey; optionally provide onlyplatfomr,param, andvalueas aScalarMapto updateparamforplatformwith the keys and values fromvalue