check_reaction_4domain: Check if the reaction is compatible with the ones supported...

View source: R/4domain_reactor.R

check_reaction_4domainR Documentation

Check if the reaction is compatible with the ones supported by react_4domain().

Description

The reactions supported by react_4domain() are only the uni or bimolecular. This function checks if the reaction parameter meets this requirement, returning TRUE if the reaction is supported, or FALSE otherwise.

Usage

check_reaction_4domain(reaction)

Examples

DNAr:::check_reaction_4domain('A + B -> C')   # Should return TRUE
DNAr:::check_reaction_4domain('2A -> B')      # Should return TRUE
DNAr:::check_reaction_4domain('2A + B -> C')  # Should return FALSE

DanielKneipp/DNAr documentation built on Jan. 7, 2023, 12:42 p.m.