getInput {FELLA} | R Documentation

## Get metabolites in the input

### Description

Extractor function for the metabolites specified by the user in the input

### Usage

    getInput(object)

### Arguments

`object` | FELLA.USER object

### Value

Vector of metabolites in the input

### Examples

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

    ## No excluded compounds: the input is recovered as is
    obj <- defineCompounds(
    compounds = input.sample,
    data = FELLA.sample)
    i1 <- getInput(obj)

    ## One compound does not map: the input contains only the mapped entities
    obj <- defineCompounds(
    compounds = c(input.sample, "intruder"),
    data = FELLA.sample)
    i2 <- getInput(obj)

    identical(sort(i1), sort(i2))

[Package FELLA version 1.0.1 Index]