<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: drug.class.stochastic</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="R.css" />
</head><body>

<table width="100%" summary="page for drug.class.stochastic"><tr><td>drug.class.stochastic</td><td style="text-align: right;">R Documentation</td></tr></table>

<h2>drug.class.stochastic</h2>

<h3>Description</h3>

<p>Takes structure data file (SDF) of candidate drug, Nearest Neighbor value and threshold similarity score to predict its drug class using stochastic model.
</p>


<h3>Usage</h3>

<pre>
drug.class.stochastic("sdf", "NearestNeighbor", "Threshold")
</pre>


<h3>Arguments</h3>

<table summary="R argblock">
<tr valign="top"><td><code>sdf</code></td>
<td>
<p>input sdf file</p>
</td></tr>
<tr valign="top"><td><code>NearestNeighbor</code></td>
<td>
<p>Nearest Neighbor = 1, 3</p>
</td></tr>
<tr valign="top"><td><code>Threshold</code></td>
<td>
<p>Threshold = 0.25, 0.3, 0.35, 0.4</p>
</td></tr>
</table>


<h3>Details</h3>

<p>uCAREChemSuiteCLI
</p>


<h3>Value</h3>

<p>Predicted drug class of the candidate drug using Nearest Neighbor algorithm
</p>


<h3>Examples</h3>

<pre>
{
example.class.stochastic&lt;- system.file('extdata/example.sdf', package="uCAREChemSuiteCLI")
drug.class.stochastic(example.class.stochastic,"3","0.25")
}
</pre>


</body></html>
