Description Usage Arguments Value Examples
View source: R/dose_response_fitting.R
Multiple concentration-response fit
1 2 | Multiple.singlefit(data, resp = "Birth_rate", conc = "CONC",
fct = drc::LL.4(), linear.model = FALSE, log.x = FALSE, ...)
|
data |
Concentration-response dataframe. |
resp |
Response to be fitted (Y axis). Default is Birth_rate. |
conc |
Name of the column with the drug concentration values. |
fct |
nonlinear function. Currently available functions can be found in drc package (use |
linear.model |
logical value indicating whether the curve should be fitted using a linear model. If TRUE, the fct argument is ignored. FALSE by default. |
log.x |
logical. Logaritmically transform x axis values? FALSE by default. |
... |
Additional arguments for the model fitting function. See |
This function returns the coefficient estimates of the fitted model and the corresponding plots for each cell line.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
#Effect of Alvocidib on the cell counts of BT-20 and MCF7 cell lines.
filename=system.file("extdata","2cell_lines.txt",package="ACESO")
growth_data=read.cellcount.data(filename,sep="\t")
#Calculate net growth rate assuming an exponential growth of the cells:
growth_data<-net_growth_rate(growth_data)
#Fit the data with a 4 parameter log-logistic function:
Multiple.singlefit(growth_data,resp="Net_growth",conc="CONC",fct=drc::LL.4())
Multiple.singlefit(growth_data,resp="Net_growth",conc="CONC",fct=drc::LL.4(),log.x=T)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.