.setCachedCommonInfo | R Documentation |
Get and set common cached information for each class.
The setter should only ever be called in .cacheCommonInfo
.
The getter can be called anywhere but most usually in .defineInterface
.
.setCachedCommonInfo(se, cls, ...)
.getCachedCommonInfo(se, cls)
se |
A SummarizedExperiment object containing the current dataset. |
cls |
String containing the name of the class for which this information is cached. |
... |
Any number of named R objects to cache. |
.setCachedCommonInfo
returns se
with ...
added to its int_metadata
.
.getCachedCommonInfo
retrieves the cached common information for class cls
.
Aaron Lun
?"cache-utils"
, for utilities to define some cached variables.
se <- SummarizedExperiment()
se <- .setCachedCommonInfo(se, "SomePanelClass",
something=1, more_things=TRUE, something_else="A")
.getCachedCommonInfo(se, "SomePanelClass")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.