getPscores: Get p-scores from the desired methodology

Description Usage Arguments Value Examples

View source: R/get-.R

Description

Extractor function for the p-scores using the desired methodology

Usage

1
getPscores(object, method)

Arguments

object

FELLA.USER object

method

Character, exactly one of: "hypergeom", "diffusion", "pagerank"

Value

Named vector of p-scores

Examples

1
2
3
4
5
6
7
data(FELLA.sample)
data(input.sample)
obj <- enrich(
compounds = input.sample, 
data = FELLA.sample)
p <- getPscores(obj, "diffusion")
sum(p < 0.1)

b2slab/FELLA documentation built on March 3, 2021, 2:22 p.m.