Learn R Programming

rcdk (version 3.8.1)

get.total.hydrogen.count: Get total number of implicit hydrogens in the molecule.

Description

Counts the number of hydrogens on the provided molecule. As this method will sum all implicit hydrogens on each atom it is important to ensure the molecule has already been configured (and thus each atom has an implicit hydrogen count).

Usage

get.total.hydrogen.count(mol)

Value

An integer representing the total number of implicit hydrogens

Arguments

mol

The molecule to query. Should be a `jobjRef` representing an `IAtomContainer`

Author

Rajarshi Guha (rajarshi.guha@gmail.com)

See Also

get.hydrogen.count, remove.hydrogens