From e4be5e83c8c525b3745d2d7813336319d10f8855 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Sun, 12 Nov 2023 22:07:06 +0100 Subject: Update to bootstrap 5 --- docs/reference/chent.html | 130 +++++++++++++++++++--------------------------- 1 file changed, 54 insertions(+), 76 deletions(-) (limited to 'docs/reference/chent.html') diff --git a/docs/reference/chent.html b/docs/reference/chent.html index 48ccf3f..cb0b1eb 100644 --- a/docs/reference/chent.html +++ b/docs/reference/chent.html @@ -1,65 +1,64 @@ -An R6 class for chemical entities with associated data — chent • chentsAn R6 class for chemical entities with associated data — chent • chents + + Skip to contents -
-
-
- + + +
+
+
+
-
+

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.

-
-

Format

+
+

Format

An R6Class generator object

-
-

Public fields

+
+

Public fields

identifier

(character(1))
The identifier that was used to initiate the object, with attribute 'source'

@@ -151,8 +150,8 @@ Add soil sorption data

-
-

Methods

+
+

Methods

Public methods

@@ -767,69 +766,48 @@ Write an EMF image of the structure using -

Examples

+
+

Examples

oct <- chent$new("1-octanol", smiles = "CCCCCCCCO", pubchem = FALSE)
 #> Trying to get chemical information from RDKit using user SMILES
 #> CCCCCCCCO
-#> Did not find chyaml file ./1-octanol.yaml
+#> Error in URLencode(self$identifier): could not find function "URLencode"
 print(oct)
-#> <chent>
-#> Identifier $identifier 1-octanol 
-#> InChI Key $inchikey 
-#> SMILES string $smiles:
-#>        user 
-#> "CCCCCCCCO" 
-#> Molecular weight $mw: 130.2 
+#> Error in eval(expr, envir, enclos): object 'oct' not found
 if (!is.null(oct$Picture)) {
   plot(oct)
 }
+#> Error in eval(expr, envir, enclos): object 'oct' not found
 
 caffeine <- chent$new("caffeine")
 #> PubChem:
 #> Trying to get chemical information from RDKit using PubChem_Canonical SMILES
 #> CN1C=NC2=C1C(=O)N(C(=O)N2C)C
-#> Did not find chyaml file ./caffeine.yaml
+#> Error in URLencode(self$identifier): could not find function "URLencode"
 print(caffeine)
-#> <chent>
-#> Identifier $identifier caffeine 
-#> InChI Key $inchikey RYYVLZVUVIJVGH-UHFFFAOYSA-N 
-#> SMILES string $smiles:
-#>              PubChem_Canonical 
-#> "CN1C=NC2=C1C(=O)N(C(=O)N2C)C" 
-#> Molecular weight $mw: 194.2 
-#> PubChem synonyms (up to 10):
-#>  [1] "caffeine"                "58-08-2"                
-#>  [3] "Guaranine"               "1,3,7-Trimethylxanthine"
-#>  [5] "Methyltheobromine"       "Theine"                 
-#>  [7] "Thein"                   "Cafeina"                
-#>  [9] "Koffein"                 "Mateina"                
+#> Error in eval(expr, envir, enclos): object 'caffeine' not found
 if (!is.null(caffeine$Picture)) {
   plot(caffeine)
 }
-
+#> Error in eval(expr, envir, enclos): object 'caffeine' not found
 
-
- -
+
-
- -- cgit v1.2.1