loadPVmatrix: Loads the matrix of p-values for a collection

Description Usage Arguments Value Examples

Description

Loads the matrix of p-values for a collection

Usage

1
loadPVmatrix(rp, collection)

Arguments

rp

A repository created by createRepository.

collection

One of the names returned by getCollections.

Value

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.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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)

franapoli/gep2pep documentation built on May 30, 2019, 4:34 p.m.