Internal Functions for CellMix Data Registry

Description

These functions are used internally to work with the gene expression dataset registry within the CellMix package.

GEDpath returns/sets the path to the local directory where CellMix data (e.g., cache) are stored.

GEDtmp returns the path to the local directory where downloaded data from GEO are stored.

GEDcache adds an ExpressionSet object or an rds file to the local cache.

Usage

GEDsave(x, force = FALSE)

GEDpath(..., create = TRUE, reset = NULL)

GEDtmp(..., create = TRUE)

GEDcache(key, object)

Arguments

x
GEDdata_entry object or list of GEDdata_entry objects. If missing then all entries are used.
force
logical to force saving dataset(s)
reset
new value for the local directory
key
unique dataset identifier. For datasets that are registered in the CellMix data registry, this correspond to the entry key.
object
ExpressionSet object to add to cache or the path to an existing RDS file that contains such an object.
...
path parts passed to file.path to be appended to the main path.
create
logical that indicates if the directory should be created if it does not exists.

Details

GEDsave saves the primary dataset loaded in the registry on disk.