QueryBrenda: Query for multiple enzymes.

Description Usage Arguments Value See Also Examples

View source: R/query.R

Description

Use a vector of EC numbers to retrieve information from the BRENDA tibble read in by ReadBrenda(). Invalid EC numbers will be removed and a message will be generated.

Usage

1
QueryBrenda(brenda, EC, n.core = 0, fields = FALSE, ...)

Arguments

brenda

A tibble containing information from BRENDA.

EC

A string of the EC number.

n.core

Integer specifying the number of cores to use. Default is 0, which would result in using all available cores.

fields

A character vector indicating fields to parse. Default is FALSE, which would be returning all fields.

...

Other parameters passed to QueryBrendaBase().

Value

A list of brenda.entry objects.

See Also

QueryBrendaBase() ConfigBPCores() SelectOrganism()

Examples

1
2
3
4
df <- ReadBrenda(system.file("extdata", "brenda_download_test.txt",
                          package = "brendaDb"))
res <- QueryBrenda(brenda = df, EC = c("1.1.1.1", "1.1.1.10", "6.3.5.8"),
                   n.core = 2, organisms = "Homo sapiens")

brendaDb documentation built on Nov. 8, 2020, 5:16 p.m.