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)

FELLA documentation built on Nov. 8, 2020, 6:57 p.m.