metabolites {repository} | R Documentation

## get metabolites data from the database repository

### Description

### Usage

    metabolites(database,
        mzkit = FALSE);

### Arguments

database

  -

env

  [as Environment]

### Details

### Authors

MetaboLights

### Value

this function returns data object in these one of the listed data types: Metabolite, MetaLib.

#### clr value class

- Metabolite
- MetaLib

### Examples

     require(MetaboLights);

     const source_repo = "/path/to/eb-eye_metabolights_complete.xml";
     const data_repo = loadMetaEntries(source_repo) |> as.metaSet();
     const metabos_data = data_repo |> metabolites();

     write.csv(metabos_data, file = "/path/to/metabolites.csv");

[Package repository version 1.0.0.0 Index]