Perpetrator object constructor
new_perpetrator.RdConvert a data frame into a perpetrator object.
Details
The input is a data frame with the columns 'param', 'value' and source'.
Rows with the following parameters ('param') are expected in the input:
| PARAM | REQUIREMENT | DESCRIPTION |
| name | required | the name of the compound |
| oral | required | logical value (TRUE or FALSE) to indicate whether the compound is administered orally |
| mw | required | molar weight in g/mol |
| dose | required for parent compounds | clinical dose in mg |
| imaxss | required | total Cmax in ng/ml |
| fu | optional | fraction unbound, default is 1 |
| fumic | optional | microsomal unbound fraction, dafault is 1 |
| rb | optional | blood-to-plasma concentration ratio, default is 1 |
| fa | optional | fraction absorbed, default is 1 |
| fg | optional | fraction escaping gut metabolism, default is 1 |
| ka | optional | absorption rate constant, default is 0.1 /min |
| solubility | optional | solubility of the compound in mg/l, defaults to Inf |
The following is an example for a valid input data frame: