From 7dadaf3fe9793afe7264125edc4e1f1ccd806dc0 Mon Sep 17 00:00:00 2001
From: Johannes Ranke
new()
Creates a new instance of this R6 class.
Creates a new instance of this R6 class.
+Try to get chemical information from PubChem
@@ -216,8 +217,7 @@ and the reticulate package?chyaml
Should we look for a identifier.yaml file in the working -directory? -Try to get chemical information from PubChem
pubchem_cid
CID -Get chemical information from RDKit if available
CID
get_rdkit()
Get chemical information from RDKit if available +Obtain information from a YAML file
@@ -274,8 +273,7 @@ Get chemical information from RDKit if availabletemplate
Optional template specified as a SMILES code -Obtain information from a YAML file
An optional SMILES code to be used as template for RDKit
p0
The vapour pressure in Pa
The vapour pressure in Pa +Add a water solubility
T
remark
A remark -Add a water solubility
A remark
cwsat
The water solubility in mg/L
The water solubility in mg/L +Add a plant uptake factor
T
pH
The pH value
pH value
source
remark
A remark -Add a plant uptake factor
A remark
smiles
A SMILES code for defining a chent object
Optional user provided SMILES code
pubchem
pages
The page from which the information was taken
The pages from which the information was taken
The formation fraction(s)
remark
A remark
source
An acronym specifying the source of the information
page
The page from which the information was taken
Kf
soils
Names of the soils
Kf
The sorption constant in L/kg, either linear (then N
is 1)
or according to Freundlich
The Freundlich exponent
type
The soil type
pH_orig
The pH stated in the study
pH_medium
The medium in which this pH was measured
pH_H2O
The pH extrapolated to pure water
perc_OC
The percentage of organic carbon in the soil
perc_clay
The percentage of clay in the soil
CEC
The cation exchange capacity -Write a PDF image of the structure
The cation exchange capacity
remark
A remark
source
An acronym specifying the source of the information
page
The page from which the information was taken
pdf()
Write a PDF image of the structure +Write a PNG image of the structure
chent$pdf(
file = paste0(self$identifier, ".pdf"),
@@ -691,8 +736,7 @@ Write a PDF image of the structure
template
-A template expressed as SMILES to use in RDKit
-Write a PNG image of the structure
+An optional SMILES code to be used as template for RDKit
antialias
Passed to png -Write an EMF image of the structure using emf
file
The file to write to
dir
The directory to write the file to
antialias
Passed to png
emf()
Write an EMF image of the structure using emf
chent$emf(file = paste0(self$identifier, ".emf"), dir = "structures/emf")
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
print(oct)
#> <chent>
#> Identifier $identifier 1-octanol
@@ -779,7 +832,6 @@ Write an EMF image of the structure using #> 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
print(caffeine)
#> <chent>
#> Identifier $identifier caffeine
--
cgit v1.2.1