getExcluded: Get excluded compounds

Description Usage Arguments Value Examples

View source: R/get-.R

Description

Extractor function for the compounds in the input that were not mapped to the KEGG graph

Usage

1
getExcluded(object)

Arguments

object

FELLA.USER object

Value

Vector of the excluded compounds

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
data(FELLA.sample)
data(input.sample)

## No excluded compounds
obj <- defineCompounds(
compounds = input.sample, 
data = FELLA.sample)
getExcluded(obj)

## One compound does not map
## The user gets a warning as well
obj <- defineCompounds(
compounds = c(input.sample, "intruder"), 
data = FELLA.sample)
getExcluded(obj)

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