ExtractField {brendaDb} | R Documentation

## Extract a specific field from a brenda.entries object.

### Description

Retrieve one field from all the brenda.entry objects. A column of EC numbers will be added to distinguish different enzymes.

### Usage

    ExtractField(res, field, entries = NULL)

### Arguments

`res` | A brenda.entries object from `QueryBrenda()`.
`field` | A string indicating the field to extract. Nested fields should be separated by `$`, e.g. `parameters$ph.optimum`.
`entries` | A character vector with values of EC numbers. This should be a subset of `names(res)`.

### Value

A tibble with all columns from the tibble in the given field, and extra columns containing the EC numbers and organisms.

### Examples

    df <- ReadBrenda(system.file("extdata", "brenda_download_test.txt",
                              package = "brendaDb"))
    res <- QueryBrenda(brenda = df, EC = c("1.1.1.1", "6.3.5.8"),
                       n.core = 2)
    ExtractField(res, field = "molecular$stability$general.stability")
    ExtractField(res, field = "structure$subunits")

[Package brendaDb version 1.6.0 Index]