| DensityDiffView | R Documentation | 
Plot the distribution of score differences between treatment and control.
DensityDiffView(
  dat,
  ctrlname = "Control",
  treatname = "Treatment",
  main = NULL,
  filename = NULL,
  width = 5,
  height = 4,
  ...
)
| dat | A data frame. | 
| ctrlname | A character, specifying the control samples. | 
| treatname | A character, specifying the treatment samples. | 
| main | A character, specifying title. | 
| filename | A character, specifying a file name to create on disk. Set filename to be "NULL", if don't want to save the figure. | 
| width | Numeric, specifying width of figure. | 
| height | Numeric, specifying height of figure. | 
| ... | Other parameters in ggsave. | 
An object created by ggplot, which can be assigned and further customized.
Wubing Zhang
file3 = file.path(system.file("extdata", package = "MAGeCKFlute"),
"testdata/mle.gene_summary.txt")
dd = ReadBeta(file3)
# Density plot of beta score deviation between control and treatment
DensityDiffView(dd, ctrlname = "Pmel1_Ctrl", treatname = "Pmel1")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.