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 = NA, reaction = "RHEA:15421")

Arguments

template

NA or list

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.

Value

data.frame

Author(s)

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

Examples

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

michaelwitting/wormLipidPredictR documentation built on Aug. 28, 2024, 9:39 a.m.