QueryBrenda: Query for multiple enzymes.

View source: R/query.R

QueryBrendaR Documentation

Query for multiple enzymes.

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

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

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")


y1zhou/brendaDb documentation built on Dec. 12, 2022, 3:43 a.m.