getPscores {FELLA} | R Documentation

## Get p-scores from the desired methodology

### Description

Extractor function for the p-scores using the desired methodology

### Usage

    getPscores(object, method)

### Arguments

`object` | FELLA.USER object
`method` | Character, exactly one of: `"hypergeom"`, `"diffusion"`, `"pagerank"`

### Value

Named vector of p-scores

### Examples

    data(FELLA.sample)
    data(input.sample)
    obj <- enrich(
    compounds = input.sample,
    data = FELLA.sample)
    p <- getPscores(obj, "diffusion")
    sum(p < 0.1)

[Package FELLA version 1.4.1 Index]