Experimental. Add arbitrary R objects to a study. These will be exported via
saveRDS and imported via readRDS.
This allows preserving the exact structure of complex R objects.
addObjects(study, objects, reset = FALSE)An OmicNavigator study created with createStudy
Any arbitrary R objects from the study. The input object is a list of objects (one per model). To share an object across multiple models, use the modelID "default".
Reset the data prior to adding the new data (default:
FALSE). The default is to add to or modify any previously added data
(if it exists). Setting reset = TRUE enables you to remove existing
data you no longer want to include in the study.
The main purpose of adding a custom object to your study package is to use it
in custom plots in the app. If available, they will be returned by
getPlottingData. If the custom package requires additional R
packages to be available to use, make sure to list these packages in the
field packages when adding the custom plotting function via
addPlots.