ReadBrenda: Read BRENDA text file into matrix.

View source: R/read.R

ReadBrendaR Documentation

Read BRENDA text file into matrix.

Description

For each EC entry, split the annotations into three columns:

  • ID: EC number, e.g. 1.1.1.1

  • field: the content of the information, e.g. protein, localization

  • description: everything else

Usage

ReadBrenda(filepath, clean = TRUE)

Arguments

filepath

A string indicating the path to the text file.

clean

Boolean; if TRUE, run CleanECNumber() after reading the file.

Value

A matrix containing information about the EC entries.

Examples

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


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