remove_stoichiometry: Remove the stoichiometry of a species string.

View source: R/parser.R

remove_stoichiometryR Documentation

Remove the stoichiometry of a species string.

Description

Use this function to get rid of the stoichiometry of a species string.

Usage

remove_stoichiometry(species)

Value

The species string without the stoichiometry (number) specifying the number of molecules

Examples

DNAr:::remove_stoichiometry('2A')   # Returns 'A'
DNAr:::remove_stoichiometry('2A2')  # Returns 'A2', The other numbers
                                    # are considered part of the species name

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