CleanECNumber: Remove deleted and transferred EC numbers.

View source: R/read.R

CleanECNumberR Documentation

Remove deleted and transferred EC numbers.

Description

Some EC numbers have comments wrapped in parentheses. Most of them are deleted (in this case we remove them) entries or transferred (in this case we point to the new entry) entries.

Usage

CleanECNumber(df)

Arguments

df

A tibble generated by ReadBrenda().

Value

A tibble with deleted and transferred entries moved to the bottom, with columns:

  • ID being the deleted/transferred ID,

  • field being "TRANSFERRED_DELETED", and

  • description being the information included in the original ID column.

Examples

df <- ReadBrenda(system.file("extdata", "brenda_download_test.txt",
                          package = "brendaDb"))
brendaDb:::CleanECNumber(df)


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