net.sf.ciccgrid.frontend
Class PkCell
java.lang.Object
net.sf.ciccgrid.backend.RModel
net.sf.ciccgrid.frontend.PkCell
public class PkCell
- extends net.sf.ciccgrid.backend.RModel
- Author:
- rguha
|
Constructor Summary |
PkCell()
Constructor for this class. |
|
Method Summary |
double[][] |
calculator(double[] pKa,
double[] logP,
double[] z)
Evaluates pharmacokinetic parameters. |
| Methods inherited from class net.sf.ciccgrid.backend.RModel |
deleteObject, getMaintainState, getModelName, isOfClass, loadModel, setMaintainState, setModelName |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PkCell
public PkCell()
throws net.sf.ciccgrid.RWebServiceException,
java.io.IOException
- Constructor for this class.
Currently all it does is make a connection to the Rserve process, using a fixed
value of the Rserve host defined by
net.sf.ciccgrid.RWebServiceConstants.RSERVE_HOST.
- Throws:
net.sf.ciccgrid.RWebServiceException - if there was an error in making the connection
java.io.IOException
calculator
public double[][] calculator(double[] pKa,
double[] logP,
double[] z)
throws net.sf.ciccgrid.RWebServiceException,
org.rosuda.JRclient.RSrvException
- Evaluates pharmacokinetic parameters.
This is based on Matlab code described in Mol. Pharm., 2006, ASAP
(DOI: 10.1021/mp060046k).
- Parameters:
pKa - An array of pKa values for each of the observationslogP - An array of logP values for each of the observationsz - An array of z values for each of the observations
- Returns:
- A 2D matrix with number of rows equal to the number of input observations
and 8 columns. The columns, in order, are
- pKa
- logP_n,lip
- logP_d,lip
- Cc(mM)
- Cm(mM)
- Cb(mM)
- Peff(cm/sec)
- Throws:
net.sf.ciccgrid.RWebServiceException
org.rosuda.JRclient.RSrvException