@@ -55,83 +55,83 @@ generated using RDKit if RDKit and its python bindings are installed.
The identifier that was used to initiate the object, with attribute 'source'
-
inchikey
+
inchikey
(character(1))
InChI Key, with attribute 'source'
-
smiles
+
smiles
(character())
SMILES code(s), with attribute 'source'
-
mw
+
mw
(numeric(1))
Molecular weight, with attribute 'source'
-
pubchem
+
pubchem
(list())
List of information retrieved from PubChem
-
rdkit
+
rdkit
List of information obtained with RDKit
-
mol
+
mol
<rdkit.Chem.rdchem.Mol> object
-
svg
+
svg
SVG code
-
Picture
+
Picture
Graph as a grImport::Picture object obtained using the grImport package
-
Pict_font_size
+
Pict_font_size
Font size as extracted from the intermediate PostScript file
-
pdf_height
+
pdf_height
Height of the MediaBox in the pdf after cropping
-
p0
+
p0
Vapour pressure in Pa
-
cwsat
+
cwsat
Water solubility in mg/L
-
PUF
+
PUF
Plant uptake factor
-
chyaml
+
chyaml
List of information obtained from a YAML file
-
TPs
+
TPs
List of transformation products as chent objects
-
transformations
+
transformations
Data frame of observed transformations
-
soil_degradation
+
soil_degradation
Dataframe of modelling DT50 values
-
soil_ff
+
soil_ff
Dataframe of formation fractions
-
soil_sorption
+
soil_sorption
Dataframe of soil sorption data
@@ -142,8 +142,7 @@ List of information retrieved from PubChem
An acronym specifying the source of the information
-
-
page
+
page
The page from which the information was taken
-
-
remark
+
remark
A remark
-
-
Method add_PUF()
+
+
+
+
chent$add_PUF()
Add a plant uptake factor
Usage
chent$add_PUF(
@@ -373,55 +354,50 @@ the web (not implemented).
page =41, remark ="Conservative default value")
-
-
-
+
Arguments
PUF
The plant uptake factor, a number between 0 and 1
-
-
source
+
source
An acronym specifying the source of the information
-
-
page
+
page
The page from which the information was taken
-
-
remark
+
remark
A remark
-
-
Method add_TP()
+
+
+
+
chent$add_TP()
Add a transformation product to the internal list
Usage
chent$add_TP(x, smiles =NULL, pubchem =FALSE)
-
-
-
+
Arguments
x
A chent object, or an identifier to generate a chent object
-
-
smiles
+
smiles
Optional user provided SMILES code
-
-
pubchem
+
pubchem
Should chemical information be obtained from PubChem?
-
-
Method add_transformation()
+
+
+
+
chent$add_transformation()
Add a line in the internal dataframe holding observed transformations
Usage
chent$add_transformation(
@@ -432,42 +408,37 @@ the web (not implemented).
source =NA, pages =NA)
-
-
-
+
Arguments
study_type
A characterisation of the study type
-
-
TP_identifier
+
TP_identifier
An identifier of one of the transformation products
in self$TPs
-
-
max_occurrence
+
max_occurrence
The maximum observed occurrence of the
transformation product, expressed as a fraction of the amount that would
result from stochiometric transformation
-
-
remark
+
remark
A remark
-
-
source
+
source
An acronym specifying the source of the information
-
-
pages
+
pages
The pages from which the information was taken
-
-
Method add_soil_degradation()
+
+
+
+
chent$add_soil_degradation()
Add a line in the internal dataframe holding modelling DT50 values
Usage
chent$add_soil_degradation(
@@ -490,126 +461,104 @@ result from stochiometric transformation
source, page =NA)
-
-
-
+
Arguments
soils
Names of the soils
-
-
DT50_mod
+
DT50_mod
The modelling DT50 in the sense of regulatory pesticide
fate modelling
-
-
DT50_mod_ref
+
DT50_mod_ref
The normalised modelling DT50 in the sense of
regulatory pesticide fate modelling
-
-
type
+
type
The soil type
-
-
country
+
country
The country (mainly for field studies)
-
-
pH_orig
+
pH_orig
The pH stated in the study
-
-
pH_medium
+
pH_medium
The medium in which this pH was measured
-
-
pH_H2O
+
pH_H2O
The pH extrapolated to pure water
-
-
perc_OC
+
perc_OC
The percentage of organic carbon in the soil
-
-
temperature
+
temperature
The temperature during the study in degrees Celsius
-
-
moisture
+
moisture
The moisture during the study
-
-
category
+
category
Is it a laboratory ('lab') or field study ('field')
-
-
formulation
+
formulation
Name of the formulation applied, if it was not
the technical active ingredient
-
-
model
+
model
The degradation model used for deriving DT50_mod
-
-
chi2
+
chi2
The relative error as defined in FOCUS kinetics
-
-
remark
+
remark
A remark
-
-
source
+
source
An acronym specifying the source of the information
-
-
page
+
page
The page from which the information was taken
-
-
Method add_soil_ff()
+
+
+
+
chent$add_soil_ff()
Add one or more formation fractions for degradation in soil
chent$emf(file =paste0(self$identifier, ".emf"), dir ="structures/emf")
-
-
-
+
Arguments
file
The file to write to
-
-
dir
+
dir
The directory to write the file to
-
-
Method clone()
+
+
+
+
chent$clone()
The objects of this class are cloneable with this method.
Usage
chent$clone(deep =FALSE)
-
-
-
+
Arguments
deep
Whether to make a deep clone.
@@ -786,6 +715,7 @@ or according to Freundlich
+
diff --git a/docs/reference/chent.md b/docs/reference/chent.md
index 40716ce..aeaac75 100644
--- a/docs/reference/chent.md
+++ b/docs/reference/chent.md
@@ -6,7 +6,7 @@ RDKit if RDKit and its python bindings are installed.
## Format
-An [R6::R6Class](https://r6.r-lib.org/reference/R6Class.html) generator
+An [R6Class](https://r6.r-lib.org/reference/R6Class.html) generator
object
## Public fields
@@ -103,7 +103,7 @@ object
### Public methods
-- [`chent$new()`](#method-chent-new)
+- [`chent$new()`](#method-chent-initialize)
- [`chent$try_pubchem()`](#method-chent-try_pubchem)
@@ -139,7 +139,7 @@ object
------------------------------------------------------------------------
-### Method `new()`
+### `chent$new()`
Creates a new instance of this
[R6](https://r6.r-lib.org/reference/R6Class.html) class.
@@ -195,7 +195,7 @@ Creates a new instance of this
------------------------------------------------------------------------
-### Method `try_pubchem()`
+### `chent$try_pubchem()`
Try to get chemical information from PubChem
@@ -217,7 +217,7 @@ Try to get chemical information from PubChem
------------------------------------------------------------------------
-### Method `get_pubchem()`
+### `chent$get_pubchem()`
Get chemical information from PubChem for a known PubChem CID
@@ -233,7 +233,7 @@ Get chemical information from PubChem for a known PubChem CID
------------------------------------------------------------------------
-### Method `get_rdkit()`
+### `chent$get_rdkit()`
Get chemical information from RDKit if available
@@ -249,7 +249,7 @@ Get chemical information from RDKit if available
------------------------------------------------------------------------
-### Method `get_chyaml()`
+### `chent$get_chyaml()`
Obtain information from a YAML file
@@ -274,7 +274,7 @@ Obtain information from a YAML file
------------------------------------------------------------------------
-### Method `add_p0()`
+### `chent$add_p0()`
Add a vapour pressure
@@ -306,7 +306,7 @@ Add a vapour pressure
------------------------------------------------------------------------
-### Method `add_cwsat()`
+### `chent$add_cwsat()`
Add a water solubility
@@ -342,7 +342,7 @@ Add a water solubility
------------------------------------------------------------------------
-### Method `add_PUF()`
+### `chent$add_PUF()`
Add a plant uptake factor
@@ -375,7 +375,7 @@ Add a plant uptake factor
------------------------------------------------------------------------
-### Method `add_TP()`
+### `chent$add_TP()`
Add a transformation product to the internal list
@@ -399,7 +399,7 @@ Add a transformation product to the internal list
------------------------------------------------------------------------
-### Method `add_transformation()`
+### `chent$add_transformation()`
Add a line in the internal dataframe holding observed transformations
@@ -444,7 +444,7 @@ Add a line in the internal dataframe holding observed transformations
------------------------------------------------------------------------
-### Method `add_soil_degradation()`
+### `chent$add_soil_degradation()`
Add a line in the internal dataframe holding modelling DT50 values
@@ -549,7 +549,7 @@ Add a line in the internal dataframe holding modelling DT50 values
------------------------------------------------------------------------
-### Method `add_soil_ff()`
+### `chent$add_soil_ff()`
Add one or more formation fractions for degradation in soil
@@ -585,7 +585,7 @@ Add one or more formation fractions for degradation in soil
------------------------------------------------------------------------
-### Method `add_soil_sorption()`
+### `chent$add_soil_sorption()`
Add soil sorption data
@@ -669,7 +669,7 @@ Add soil sorption data
------------------------------------------------------------------------
-### Method [`pdf()`](https://rdrr.io/r/grDevices/pdf.html)
+### `chent$pdf()`
Write a PDF image of the structure
@@ -697,7 +697,7 @@ Write a PDF image of the structure
------------------------------------------------------------------------
-### Method [`png()`](https://rdrr.io/r/grDevices/png.html)
+### `chent$png()`
Write a PNG image of the structure
@@ -725,7 +725,7 @@ Write a PNG image of the structure
------------------------------------------------------------------------
-### Method `emf()`
+### `chent$emf()`
Write an EMF image of the structure using
[emf](https://rdrr.io/pkg/devEMF/man/emf.html)
@@ -746,7 +746,7 @@ Write an EMF image of the structure using
------------------------------------------------------------------------
-### Method `clone()`
+### `chent$clone()`
The objects of this class are cloneable with this method.
diff --git a/docs/reference/draw_svg.chent.html b/docs/reference/draw_svg.chent.html
index dd50cd9..8bea16c 100644
--- a/docs/reference/draw_svg.chent.html
+++ b/docs/reference/draw_svg.chent.html
@@ -7,7 +7,7 @@
chents
- 0.4.0
+ 0.4.2
diff --git a/docs/reference/figures/README-unnamed-chunk-5-1.png b/docs/reference/figures/README-unnamed-chunk-5-1.png
index bf6cdb4..7e7352d 100644
Binary files a/docs/reference/figures/README-unnamed-chunk-5-1.png and b/docs/reference/figures/README-unnamed-chunk-5-1.png differ
diff --git a/docs/reference/figures/README-unnamed-chunk-6-1.png b/docs/reference/figures/README-unnamed-chunk-6-1.png
new file mode 100644
index 0000000..bf6cdb4
Binary files /dev/null and b/docs/reference/figures/README-unnamed-chunk-6-1.png differ
diff --git a/docs/reference/index.html b/docs/reference/index.html
index 52b7cfb..929f683 100644
--- a/docs/reference/index.html
+++ b/docs/reference/index.html
@@ -7,7 +7,7 @@
chents
- 0.4.1
+ 0.4.2