loadPVmatrix {gep2pep}R Documentation

Loads the matrix of p-values for a collection

Description

Loads the matrix of p-values for a collection

Usage

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


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)


[Package gep2pep version 1.13.0 Index]