ParseProtein: Parse a "PROTEIN" entry.

View source: R/parse-nomenclature.R

ParseProteinR Documentation

Parse a "PROTEIN" entry.

Description

Expand the string into a tibble.

Usage

ParseProtein(description)

Arguments

description

The description string in a "PROTEIN" entry.

Value

A tibble with five columns: proteinID, description, uniprot, commentary and reference. The description column is the source organism.

Examples

x <- paste0(
"PR\t#1# Cavia porcellus  (#1# SULT1A2 <1,2,6,7>) <1,2,6,7>\n",
"PR\t#2# Mus musculus <11,18,19>\n")
brendaDb:::ParseProtein(x)


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