data(cytotox)
## example 1
# calculate the effect of heavy metal Ni(2+) at the concentration of 0.00005 mol/L on the MCF-7
model.ni <- cytotox$sgl$model
param.ni <- cytotox$sgl$param
CEx(model.ni, param.ni, conc = 0.00005)
## example 2
# calculate the effect caused by four heavy metals and four ionic liquids at the concentration of
# 0.00001 and 0.00002 mol/L on the MCF-7 cells
model <- cytotox$sgl$model
param <- cytotox$sgl$param
CEx(model, param, conc = c(0.00001, 0.00002))
Run the code above in your browser using DataLab