DensityDiffView {MAGeCKFlute} | R Documentation |
Plot the density of beta score deviation between two samples.
DensityDiffView(beta, ctrlname = "Control", treatname = "Treatment", main = NULL, filename = NULL, width = 5, height = 4, ...)
beta |
Data frame, including |
ctrlname |
A character, specifying the name of control sample. |
treatname |
A character, specifying the name of treatment sample. |
main |
As in 'plot'. |
filename |
Figure file name to create on disk. Default filename="NULL", which means no output. |
width |
As in ggsave. |
height |
As in ggsave. |
... |
Other parameters in ggsave. |
An object created by ggplot
, which can be assigned and further customized.
Wubing Zhang
data(mle.gene_summary) # Read beta score from gene summary table in MAGeCK MLE results dd = ReadBeta(mle.gene_summary, organism="hsa") # Density plot of beta score deviation between control and treatment DensityDiffView(dd, ctrlname = "dmso", treatname = "plx")