getValid: Get the slot "valid"

Description Usage Arguments Value Examples

View source: R/get-.R

Description

Extractor function for the slot "valid"

Usage

1
getValid(object, method)

Arguments

object

FELLA.USER object

method

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

Value

Slot "valid" (internal usage)

Examples

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

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