getResults: Extracts the results matrix from 'CondSEA' or 'PathSEA'...

Description Usage Arguments Value See Also Examples

View source: R/gep2pep.R

Description

Extracts the results matrix from CondSEA or PathSEA output

Usage

1
getResults(analysis, collection)

Arguments

analysis

The output of either CondSEA or PathSEA.

collection

One of the names returned by getCollections.

Value

A 2-columns matrix including ESs and p-values (see details) for each pathway database and condition.

See Also

CondSEA, PathSEA

Examples

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

getResults(psea, "c3_TFT")

unlink(repo_path, TRUE)

gep2pep documentation built on Nov. 8, 2020, 5:59 p.m.