clearCache {gep2pep}R Documentation

Clear cached ranked matrices

Description

Clear cached ranked matrices

Usage

clearCache(rp_peps)

Arguments

rp_peps

A repository created with createRepository, and containing PEPs created with buildPEPs.

Details

This will clear everything in the repository tagged with "stashed", which by default includes only matrices ranked by some gep2pep functions such as CondSEA.

Value

Nothing, used for side effects

See Also

CondSEA

Examples

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)

[Package gep2pep version 1.14.0 Index]