loadPVmatrix {gep2pep} | R Documentation |
Loads the matrix of p-values for a collection
loadPVmatrix(rp, collection)
rp |
A repository created by |
collection |
One of the names returned by
|
The matrix of p-values (PV) of the
Kolmogorov-Smirnov statistic for the pathway collection, if
previously computed with buildPEPs
. The entry i,j
reports the PV for the pathway i
, conditionj. If
buildPEPs
was not run, throws an error.
db <- loadSamplePWS() repo_path <- file.path(tempdir(), "gep2pepTemp") rp <- createRepository(repo_path, db) geps <- loadSampleGEP() buildPEPs(rp, geps) loadPVmatrix(rp, "c3_TFT") unlink(repo_path, TRUE)