ParseProtein: Parse a "PROTEIN" entry.

Description Usage Arguments Value Examples

View source: R/parse-nomenclature.R

Description

Expand the string into a tibble.

Usage

1
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

1
2
3
4
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 July 24, 2021, 7:14 p.m.