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

View source: R/brendaEntry.R

InitBrendaDeprecatedEntryR Documentation

Create a brenda.deprecated.entry object.

Description

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

Usage

InitBrendaDeprecatedEntry(EC, msg)

is.brenda.deprecated.entry(x)

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

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


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