aboutsummaryrefslogtreecommitdiff
path: root/man/chent.Rd
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2021-11-18 23:03:16 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2021-11-18 23:03:16 +0100
commitae755fbb06c3dda0740e9bb9323fbdfe3f2788a4 (patch)
tree83775c62311c2b9dde8d5e9b4283cfd03b2d2b60 /man/chent.Rd
parent898d598bcbb022ac767e0105e868798130f2c74c (diff)
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.
Diffstat (limited to 'man/chent.Rd')
-rw-r--r--man/chent.Rd20
1 files changed, 17 insertions, 3 deletions
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}}{<rdkit.Chem.rdchem.Mol> object}
\item{\code{svg}}{SVG code}

Contact - Imprint