diff options
author | Ranke Johannes <johannes.ranke@agroscope.admin.ch> | 2024-11-28 16:56:12 +0100 |
---|---|---|
committer | Ranke Johannes <johannes.ranke@agroscope.admin.ch> | 2024-11-28 16:56:12 +0100 |
commit | 09fbf31ef6f352e76abac2a7e76838ef331edeb9 (patch) | |
tree | c629ce6f307e633ab0f3c9942ca37f42f658fef9 /man | |
parent | b292c01b2f5132a34a6ed1946e1df54069676988 (diff) |
Improve README and example code
Diffstat (limited to 'man')
-rw-r--r-- | man/chent.Rd | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/man/chent.Rd b/man/chent.Rd index 6edc226..93c7a34 100644 --- a/man/chent.Rd +++ b/man/chent.Rd @@ -12,17 +12,13 @@ information is retrieved from the internet. Additionally, it can be generated using RDKit if RDKit and its python bindings are installed. } \examples{ -oct <- chent$new("1-octanol", smiles = "CCCCCCCCO", pubchem = FALSE) -print(oct) -if (!is.null(oct$Picture)) { - plot(oct) -} - caffeine <- chent$new("caffeine") print(caffeine) if (!is.null(caffeine$Picture)) { plot(caffeine) } +oct <- chent$new("1-octanol", smiles = "CCCCCCCCO", pubchem = FALSE) +print(oct) } \section{Public fields}{ \if{html}{\out{<div class="r6-fields">}} |