Learn R Programming

rcdk (version 3.8.2)

Interface to the 'CDK' Libraries

Description

Allows the user to access functionality in the 'CDK', a Java framework for cheminformatics. This allows the user to load molecules, evaluate fingerprints, calculate molecular descriptors and so on. In addition, the 'CDK' API allows the user to view structures in 2D.

Copy Link

Version

Install

install.packages('rcdk')

Monthly Downloads

3,824

Version

3.8.2

License

LGPL

Issues

Pull Requests

Stars

Forks

Maintainer

Zachary CharlopPowers

Last Published

November 30th, 2025

Functions in rcdk (3.8.2)

get.chem.object.builder

Get the default chemical object builder.
get.charge

get.charge
get.atoms

Get the atoms from a molecule or bond.
get.atomic.number

get.atomic.number
get.connected.atom

Get the atom connected to an atom in a bond.
get.connected.atoms

get.connected.atoms
get.depictor

get.depictor
get.connection.matrix

Get connection matrix for a molecule.
get.element.types

Obtain the type of stereo element support for atom.
get.desc.names

Get descriptor class names
get.desc.categories

List available descriptor categories
get.exact.mass

get.exact.mass
get.mol2formula

get.mol2formula
get.isotope.pattern.generator

Construct an isotope pattern generator.
get.point2d

get.point2d
get.murcko.fragments

Generate Bemis-Murcko Fragments
get.hydrogen.count

get.hydrogen.count
get.natural.mass

get.natural.mass
get.point3d

get.point3d
get.formula

get.formula
get.properties

Get all properties associated with a molecule.
get.formal.charge

get.formal.charge
get.isotope.pattern.similarity

Construct an isotope pattern similarity calculator.
get.isotopes.pattern

get.isotopes.pattern
get.property

Get a property value of the molecule.
get.symbol

get.symbol
get.mcs

get.mcs
get.exhaustive.fragments

Generate Bemis-Murcko Fragments
get.fingerprint

Generate molecular fingerprints
get.title

Get the title of the molecule.
get.stereocenters

Identify which atoms are stereocenters.
get.tpsa

Compute TPSA for a molecule
get.total.hydrogen.count

Get total number of implicit hydrogens in the molecule.
is.connected

Tests whether the molecule is fully connected.
is.neutral

Tests whether the molecule is neutral.
isvalid.formula

isvalid.formula
get.smiles.parser

Get a SMILES parser object.
is.aliphatic

is.aliphatic
is.aromatic

is.aromatic
is.in.ring

is.in.ring
get.stereo.types

Obtain the stereocenter type for atom.
get.total.charge

get.total.charge
get.total.formal.charge

get.total.formal.charge
get.largest.component

Gets the largest component in a disconnected molecular graph.
get.volume

Compute volume of a molecule
set.atom.types

set.atom.types
set.property

Set a property value of the molecule.
load.molecules

Load molecular structures from disk or URL
get.xlogp

Compute XLogP for a molecule
get.smiles

Generate a SMILES representation of a molecule.
parse.smiles

Parse SMILES strings into molecule objects.
iload.molecules

Load molecules using an iterator.
set.title

Set the title of the molecule.
matches

matches
view.molecule.2d

view.molecule.2d
set.charge.formula

set.charge.formula
write.molecules

Write molecules to disk.
rcdk-deprecated

Deprecated functions in the rcdk package.
view.table

view.table
smiles.flavors

Generate flag for customizing SMILES generation.
remove.property

Remove a property associated with a molecule.
remove.hydrogens

Remove explicit hydrogens.
view.image.2d

view.image.2d
copy.image.to.clipboard

copy.image.to.clipboard
compare.isotope.pattern

Compare isotope patterns.
cdk.version

Get the current CDK version used in the package.
convert.implicit.to.explicit

Convert implicit hydrogens to explicit.
do.isotopes

do.isotopes
cdkFormula-class

Class cdkFormula, ac class for handling molecular formula
Atoms

Operations on Atoms
Molecule

Operations on molecules
generate.formula.iter

generate.formula.iter
generate.2d.coordinates

Generate 2D coordinates for a molecule.
bpdata

Boiling Point Data
do.aromaticity

do.aromaticity
eval.atomic.desc

Compute descriptors for each atom in a molecule
eval.desc

Compute descriptor values for a set of molecules
get.atomic.desc.names

Get class names for atomic descriptors
get.atom.index

get.atom.index
generate.formula

generate.formula
get.alogp

Compute ALogP for a molecule
get.atom.count

Get the number of atoms in the molecule.
get.adjacency.matrix

Get adjacency matrix for a molecule.
get.bond.order

Get an object representing bond order
get.bonds

Get the bonds in a molecule.