pasteElement: pasteElement

View source: R/tools.R

pasteElementR Documentation

pasteElement

Description

Paste formula and element. Combine metabolite and adduct as a new sum formula. If there are no enough element to remove, return NA.

Usage

pasteElement(formula = "C9H11NO2", element = "H", mode = c("plus",
  "minus"))

Arguments

formula

The formula of metabolite.

element

The element.

mode

Add or remove a module

Value

A formula.

Author(s)

Xiaotao Shen shenxt@sioc.ac.cn


ZhuMSLab/MetDNA documentation built on March 29, 2022, 5:45 p.m.