read_reactions: Reads a list of reactions with optional annotations from a...

Description Usage Arguments Value Examples

Description

Reads a list of reactions with optional annotations from a file.

Usage

1
read_reactions(react_file)

Arguments

react_file

A csv file containing the reactions, where the first column denotes the reaction string and additional columns contain annotations. A single annotation can contain several values as a comma separated string. The csv file should be saved with all entries quoted.

Value

An object of with the S3 class reactions denoting a list of reactions.

Examples

1
2
r_str <- "reaction,abbreviation,numbers\nA -> B,blub,\"1,2,3\"\nB <=>, bla, 3"
r <- read_reactions(textConnection(r_str))

cdiener/dycone documentation built on May 13, 2019, 2:41 p.m.