Description Usage Arguments Value See Also Examples
View source: R/Response_surface.R
ResponseSurface.plot
1 2 3 | ResponseSurface.plot(rmap, palette = NULL, cscale = NULL,
xl = expression(CONC), yl = expression(CONC2), zl = "Effect",
title = "")
|
rmap |
a ggplot2 plot object depicting a response map, produced by the function responseMap. |
palette |
a character vector or two or more colors defining the colorscale to be applied to the fill variable in the plot. |
cscale |
a value around which the colorscale applied to the fill variable will be centered. If NULL (the default), the colorscale will range from the minimum fill variable to the maximum. |
xl |
The character string or expression used to label the x-axis |
yl |
The character string or expression used to label the y-axis |
zl |
The character string or expression used to label the colorscale representing the response variable. "Effect" by default. |
title |
title for the plot |
A ggplot2 plot object, with the appropriate scales and labels added.
braidReports::responseMap
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
data(Dactolisib_Trametinib_combination)
growth_data<-net_growth_rate(Dactolisib_Trametinib_combination)
rmap <- braidReports::responseMap(Net_growth~CONC+CONC2,GD,logscale=T)
ResponseSurface.plot(rmap,xl=expression(paste("[Dactolisib] (",mu,"M)", sep="")),
yl=expression(paste("[Trametinib] (",mu,"M)", sep="")),
zl="Net growth rate of \n sensitive cells",
palette=c("hotpink1","yellow","darkturquoise"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.