| Plotbin {cubfits} | R Documentation | 
Plot Binning Results
Description
Plot binning results to visualize the effects of mutation and selection along with expression levels empirically.
Usage
  prop.bin.roc(reu13.df, phi.Obs = NULL, nclass = 20, bin.class = NULL,
               weightedCenters = TRUE, logBins = FALSE)
  plotbin(ret.bin, ret.model = NULL, main = NULL,
          xlab = "Production Rate (log10)", ylab = "Proportion",
          xlim = NULL, lty = 1, x.log10 = TRUE, stderr = FALSE, ...)
Arguments
| reu13.df | a  | 
| phi.Obs | a  | 
| nclass | number of binning classes across the range of  | 
| bin.class | binning proportion, e.g.
 | 
| ret.bin | binning results from  | 
| weightedCenters | if centers are weighted. | 
| logBins | if use log scale for bin. | 
| ret.model | model results from  | 
| main | an option passed to  | 
| xlab | an option passed to  | 
| ylab | an option passed to  | 
| xlim | range of X-axis. | 
| lty | line type if  | 
| x.log10 | 
 | 
| stderr | plot stand error instead of stand deviation. | 
| ... | options passed to  | 
Details
The function plotbin() plots the binning results ret.bin
returned from prop.bin.roc(). Fitted curves may be added if
ret.model is provided which can be obtained from
prop.model.roc().
plotaddmodel() can append model later if ret.model
is not provided to plotbin().
Currently, only ROC model is supported.
Colors are controlled by .CF.PT.
Value
A binning plot is drawn.
Author(s)
Wei-Chen Chen wccsnow@gmail.com.
References
https://github.com/snoweye/cubfits/
See Also
plotmodel() and prop.model.roc().
Examples
## Not run: 
demo(plotbin, 'cubfits', ask = F, echo = F)
## End(Not run)