Manages caching of consensus analysis results
Public fields
cache_dir
Directory to store cache files. Options:
NULL (default): Uses system cache directory
"local": Uses .mllmcelltype_cache in current directory
"temp": Uses temporary directory
Custom path: Any other string is used as directory path
cache_version
Current cache version
Methods
Method new()
Initialize cache manager
NULL (default): Uses system cache directory via
tools::R_user_dir()
"local": Uses .mllmcelltype_cache in current directory
"temp": Uses temporary directory (cleared on R restart)
Custom path: Any other string is used as directory path
Usage
CacheManager$new(cache_dir = NULL)
Method validate_cache()
Validate cache content Extract genes from input in a standardized way Create stable hash from genes list Create stable hash from models list Create stable hash from cluster ID