add.reactions: append reaction

Description Usage Arguments Details Value Author(s)

Description

Append reaction to reaction lists

Usage

1
add.reactions(object, ds, t, genes, name = NULL, reversible = FALSE)

Arguments

object

ReactionList or equivalent list

ds

character (substrate name) or data.frame with at least these columns: from, to, genes, reversible

t

character, product name (ignore if ds is a data.frame)

genes

character vector, names of genes involved in the reaction (ignore if ds is a data.frame)

name

additional identifer(s) for reaction (ignore if ds is a data.frame)

reversible

TRUE/FALSE (default). If TRUE, add reactions in both directions. Ignore if ds is a data.frame.

Details

Useful for adding to network spontaneous reactions without associated genes.

Value

ReactionList object

Author(s)

ZG Zhao


zgzhao/gmetab documentation built on Dec. 23, 2021, 9:17 p.m.