dot-create_template: Create template with mininum information or return a given...

.create_templateR Documentation

Create template with mininum information or return a given template

Description

Helper function for create_reaction.

The function .create_template returns a data.frame of the template of a given reaction. The returned data.frame is either the pass-through of the given template or will be created and filled with minimum information using the information from reaction.

Usage

.create_template(template = list(), reaction = "RHEA:15421")

Arguments

template

list, NA or NULL

reaction

character(1)

Details

The function .create_template will check the template object for the following information:

  • column "reaction_name" with character entry,

  • column "reaction_formula" with character entry,

  • column "reaction_isReversible" with character entry,

  • column "reaction_geneAssociation" with character entry,

  • column "reaction_pathway" with character entry.

If template is NA or NULL, template will be set to an empty list.

Value

data.frame

Author(s)

Michael Witting, michael.witting@helmholtz-muenchen.de and Thomas Naake, thomasnaake@googlemail.com

Examples

LipidNetworkPredictR:::.create_template(template = list(), reaction = "RHEA:15421")

michaelwitting/wormLipidPredictR documentation built on Nov. 24, 2024, 5:39 p.m.