| clearCache {gep2pep} | R Documentation |
Clear cached ranked matrices
clearCache(rp_peps)
rp_peps |
A repository created with
|
This will clear everything in the repository tagged with
"stashed", which by default includes only matrices ranked by some
gep2pep functions such as CondSEA.
Nothing, used for side effects
CondSEA
db <- loadSamplePWS()
repo_path <- file.path(tempdir(), "gep2pepTemp")
rp <- createRepository(repo_path, db)
geps <- loadSampleGEP()
buildPEPs(rp, geps)
pgset <- c("(+)_chelidonine", "(+/_)_catechin")
psea <- CondSEA(rp, pgset, usecache=TRUE)
## the repository contains cached data
print(rp, all=TRUE)
clearCache(rp)
unlink(repo_path, TRUE)