summaryrefslogtreecommitdiff
path: root/docs/reference/pai.html
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2024-11-28 13:02:04 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2024-11-28 13:02:04 +0100
commit7dadaf3fe9793afe7264125edc4e1f1ccd806dc0 (patch)
treee5b80b84d3dcc386e36ef1e10dbc616907b1cca1 /docs/reference/pai.html
parent84a2cfa3d8926cdd1f5be3a9a449afe3c888a095 (diff)
Update online docs
Diffstat (limited to 'docs/reference/pai.html')
-rw-r--r--docs/reference/pai.html73
1 files changed, 55 insertions, 18 deletions
diff --git a/docs/reference/pai.html b/docs/reference/pai.html
index 96c6782..30bbbac 100644
--- a/docs/reference/pai.html
+++ b/docs/reference/pai.html
@@ -1,9 +1,13 @@
<!DOCTYPE html>
-<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>An R6 class for pesticidal active ingredients and associated data — pai • chents</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><link href="../deps/font-awesome-6.4.2/css/all.min.css" rel="stylesheet"><link href="../deps/font-awesome-6.4.2/css/v4-shims.min.css" rel="stylesheet"><script src="../deps/headroom-0.11.0/headroom.min.js"></script><script src="../deps/headroom-0.11.0/jQuery.headroom.min.js"></script><script src="../deps/bootstrap-toc-1.0.1/bootstrap-toc.min.js"></script><script src="../deps/clipboard.js-2.0.11/clipboard.min.js"></script><script src="../deps/search-1.0.0/autocomplete.jquery.min.js"></script><script src="../deps/search-1.0.0/fuse.min.js"></script><script src="../deps/search-1.0.0/mark.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="An R6 class for pesticidal active ingredients and associated data — pai"><meta name="description" content="The class is initialised with an identifier which is generally
-an ISO common name. Additional chemical information is retrieved from the
-internet if available."><meta property="og:description" content="The class is initialised with an identifier which is generally
-an ISO common name. Additional chemical information is retrieved from the
-internet if available."></head><body>
+<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><title>An R6 class for pesticidal active ingredients and associated data — pai • chents</title><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.3.1/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.3.1/bootstrap.bundle.min.js"></script><link href="../deps/font-awesome-6.4.2/css/all.min.css" rel="stylesheet"><link href="../deps/font-awesome-6.4.2/css/v4-shims.min.css" rel="stylesheet"><script src="../deps/headroom-0.11.0/headroom.min.js"></script><script src="../deps/headroom-0.11.0/jQuery.headroom.min.js"></script><script src="../deps/bootstrap-toc-1.0.1/bootstrap-toc.min.js"></script><script src="../deps/clipboard.js-2.0.11/clipboard.min.js"></script><script src="../deps/search-1.0.0/autocomplete.jquery.min.js"></script><script src="../deps/search-1.0.0/fuse.min.js"></script><script src="../deps/search-1.0.0/mark.min.js"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="An R6 class for pesticidal active ingredients and associated data — pai"><meta name="description" content="This class is derived from chent. It makes it easy
+to create a chent from the ISO common name of a pesticide active
+ingredient, and additionally stores the ISO name as well as
+the complete result of querying the BCPC compendium using
+bcpc_query."><meta property="og:description" content="This class is derived from chent. It makes it easy
+to create a chent from the ISO common name of a pesticide active
+ingredient, and additionally stores the ISO name as well as
+the complete result of querying the BCPC compendium using
+bcpc_query."></head><body>
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
@@ -11,7 +15,7 @@ internet if available."></head><body>
<a class="navbar-brand me-2" href="../index.html">chents</a>
- <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.3.6</small>
+ <small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.3.7</small>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
@@ -38,9 +42,11 @@ internet if available."></head><body>
</div>
<div class="ref-description section level2">
- <p>The class is initialised with an identifier which is generally
-an ISO common name. Additional chemical information is retrieved from the
-internet if available.</p>
+ <p>This class is derived from <a href="chent.html">chent</a>. It makes it easy
+to create a <a href="chent.html">chent</a> from the ISO common name of a pesticide active
+ingredient, and additionally stores the ISO name as well as
+the complete result of querying the BCPC compendium using
+<a href="https://docs.ropensci.org/webchem/reference/bcpc_query.html" class="external-link">bcpc_query</a>.</p>
</div>
@@ -60,8 +66,7 @@ internet if available.</p>
<dt><code>bcpc</code></dt>
<dd><p>Information retrieved from the BCPC compendium available online
-at &lt;pesticidecompendium.bcpc.org&gt;
-Creates a new instance of this <a href="https://r6.r-lib.org/reference/R6Class.html" class="external-link">R6</a> class.</p></dd>
+at &lt;pesticidecompendium.bcpc.org&gt;</p></dd>
</dl><p></p></div>
@@ -91,11 +96,8 @@ Creates a new instance of this <a href="https://r6.r-lib.org/reference/R6Class.h
<li><span class="pkg-link" data-pkg="chents" data-topic="chent" data-id="try_pubchem"><a href="chent.html#method-try_pubchem"><code>chents::chent$try_pubchem()</code></a></span></li>
</ul></details></p><hr><a id="method-pai-new"></a><div class="section">
<h3 id="method-new-">Method <code>new()</code><a class="anchor" aria-label="anchor" href="#method-new-"></a></h3>
-<p>This class is derived from <a href="chent.html">chent</a>. It makes it easy
-to create a <a href="chent.html">chent</a> from the ISO common name of a pesticide active
-ingredient, and additionally stores the ISO name as well as
-the complete result of querying the BCPC compendium using
-<a href="https://docs.ropensci.org/webchem/reference/bcpc_query.html" class="external-link">bcpc_query</a>.</p><div class="section">
+
+<div class="section">
<h4 id="usage">Usage<a class="anchor" aria-label="anchor" href="#usage"></a></h4>
<p></p><div class="r"><div class="sourceCode"><pre><code><span><span class="va"><a href="../reference/pai.html">pai</a></span><span class="op">$</span><span class="fu">new</span><span class="op">(</span></span>
<span> <span class="va">iso</span>,</span>
@@ -107,7 +109,7 @@ the complete result of querying the BCPC compendium using
<span> pubchem_from <span class="op">=</span> <span class="st">"auto"</span>,</span>
<span> rdkit <span class="op">=</span> <span class="cn">TRUE</span>,</span>
<span> template <span class="op">=</span> <span class="cn">NULL</span>,</span>
-<span> chyaml <span class="op">=</span> <span class="cn">TRUE</span></span>
+<span> chyaml <span class="op">=</span> <span class="cn">FALSE</span></span>
<span><span class="op">)</span></span></code></pre></div><p></p></div>
</div>
@@ -122,6 +124,42 @@ BCPC compendium</p></dd>
<dd><p>Alternative identifier used for querying pubchem</p></dd>
+<dt><code>smiles</code></dt>
+<dd><p>Optional user provided SMILES code</p></dd>
+
+
+<dt><code>inchikey</code></dt>
+<dd><p>Optional user provided InChI Key</p></dd>
+
+
+<dt><code>bcpc</code></dt>
+<dd><p>Should the BCPC compendium be queried?</p></dd>
+
+
+<dt><code>pubchem</code></dt>
+<dd><p>Should an attempt be made to retrieve chemical
+information from PubChem via the webchem package?</p></dd>
+
+
+<dt><code>pubchem_from</code></dt>
+<dd><p>Possibility to select the argument
+that is used to query pubchem</p></dd>
+
+
+<dt><code>rdkit</code></dt>
+<dd><p>Should an attempt be made to retrieve chemical
+information from a local rdkit installation via python
+and the reticulate package?</p></dd>
+
+
+<dt><code>template</code></dt>
+<dd><p>An optional SMILES code to be used as template for RDKit</p></dd>
+
+
+<dt><code>chyaml</code></dt>
+<dd><p>Should we look for a identifier.yaml file in the working</p></dd>
+
+
</dl><p></p></div>
</div>
@@ -163,7 +201,6 @@ BCPC compendium</p></dd>
<span class="r-msg co"><span class="r-pr">#&gt;</span> PubChem:</span>
<span class="r-msg co"><span class="r-pr">#&gt;</span> Trying to get chemical information from RDKit using PubChem_Canonical SMILES</span>
<span class="r-msg co"><span class="r-pr">#&gt;</span> CCNC1=NC(=NC(=N1)Cl)NC(C)C</span>
-<span class="r-msg co"><span class="r-pr">#&gt;</span> Did not find chyaml file ./atrazine.yaml</span>
<span class="r-plt img"><img src="pai-1.png" alt="" width="700" height="433"></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> &lt;pai&gt; with ISO common name $iso atrazine </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> &lt;chent&gt;</span>

Contact - Imprint