getValid {FELLA} | R Documentation

## Get the slot "valid"

### Description

Extractor function for the slot "valid"

### Usage

    getValid(object, method)

### Arguments

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

### Value

Slot "valid" (internal usage)

### Examples

    ## This function is internal

    data(FELLA.sample)
    data(input.sample)

    obj <- enrich(
    compounds = input.sample,
    method = "diffusion",
    data = FELLA.sample)

    ## If the analysis is valid
    FELLA:::getValid(obj, "diffusion")

    ## Otherwise
    FELLA:::getValid(new("FELLA.USER"), "diffusion")
    FELLA:::getValid(obj, "pagerank")

[Package FELLA version 1.2.0 Index]