.setCachedCommonInfo {iSEE}R Documentation

Set and get cached commons

Description

Get and set common cached information for each class. The setter is usually called in .cacheCommonInfo while the getter is usually called in .defineInterface.

Usage

.setCachedCommonInfo(se, cls, ...)

.getCachedCommonInfo(se, cls)

Arguments

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.

Details

This function is intended for use by developers of Panel classes. If you're an end-user and you're reading this, you probably took a wrong turn somewhere.

Value

.setCachedCommonInfo returns se with ... added to its metadata.

.getCachedCommonInfo retrieves the cached common information for class cls.

Author(s)

Aaron Lun

Examples

se <- SummarizedExperiment()
se <- .setCachedCommonInfo(se, "SomePanelClass",
    something=1, more_things=TRUE, something_else="A")
.getCachedCommonInfo(se, "SomePanelClass")


[Package iSEE version 2.0.0 Index]