SeparateSubentries: Preprocessing of entry description.

View source: R/parse-helper.R

SeparateSubentriesR Documentation

Preprocessing of entry description.

Description

Separate subentries and strip unnecessary whitespace.

Usage

SeparateSubentries(description, acronym = NA)

Arguments

description

The description string of the field.

acronym

The acronym of the field. Can be found with ShowFields().

Value

A list of strings with each subentry as an element.

Examples

x <- "SN\talcohol:NAD+ oxidoreductase"
brendaDb:::SeparateSubentries(x, "SN")

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