InitBrendaDeprecatedEntry: Create a 'brenda.deprecated.entry' object.

Description Usage Arguments Details Value Examples

View source: R/brendaEntry.R

Description

Some EC numbers are transferred or deleted. For these entries, return a brenda.deprecated.entry object and the corresponding message.

Usage

1
2
3

Arguments

EC

A string indicating EC number of the enzyme.

msg

A string of the transferred / deleted message.

x

Any object.

Details

is.brenda.deprecated.entry checks if an object is a brenda.deprecated.entry object. If the input is a brenda.entries object, check all items in the list to see if they are brenda.deprecated.entry objects and return a boolean vector of the same length.

Value

A brenda.deprecated.entry obeject.

A boolean vector of the same length as x.

Examples

1
2
3
4
brendaDb:::InitBrendaDeprecatedEntry("6.3.5.8", "Transferred to EC 2.6.1.85")
df <- ReadBrenda(system.file("extdata", "brenda_download_test.txt",
                          package = "brendaDb"))
is.brenda.entry(QueryBrenda(df, "6.3.5.8"))

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