From ae755fbb06c3dda0740e9bb9323fbdfe3f2788a4 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Thu, 18 Nov 2021 23:03:16 +0100 Subject: Use reticulate instead of PythonInR, alanwood has moved Because the pesticide compendium at alanwood.net has moved to bcpc.org, we need to depend on a development branch of webchem at the moment. --- man/chent.Rd | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'man/chent.Rd') diff --git a/man/chent.Rd b/man/chent.Rd index a1a5fe8..d94452e 100644 --- a/man/chent.Rd +++ b/man/chent.Rd @@ -9,7 +9,20 @@ An \code{\link{R6Class}} generator object \description{ The class is initialised with an identifier. Chemical information is retrieved from the internet. Additionally, it can be generated using RDKit if RDKit and its -python bindings are installed and configured for use with PythonInR. +python bindings are installed. +} +\examples{ +oct <- chent$new("1-octanol", smiles = "CCCCCCCCO") +print(oct) +if (!is.null(oct$Picture)) { + plot(oct) +} + +caffeine <- chent$new("caffeine") +print(caffeine) +if (!is.null(caffeine$Picture)) { + plot(caffeine) +} } \keyword{data} \section{Public fields}{ @@ -25,8 +38,9 @@ python bindings are installed and configured for use with PythonInR. \item{\code{pubchem}}{List of information retreived from PubChem} -\item{\code{rdkit}}{List of information obtained with RDKit, if installed and -configured for use with PythonInR} +\item{\code{rdkit}}{List of information obtained with RDKit} + +\item{\code{mol}}{ object} \item{\code{svg}}{SVG code} -- cgit v1.2.1