DensityView {MAGeCKFlute} | R Documentation |
Plot the density of gene beta scores in two samples.
DensityView( beta, samples = NULL, main = NULL, xlab = "Beta Score", filename = NULL, width = 5, height = 4, ... )
beta |
Data frame, including |
samples |
Character, specifying sample names in |
main |
As in 'plot'. |
xlab |
As in 'plot'. |
filename |
Figure file name to create on disk. Default filename="NULL", which means don't save the figure on disk. |
width |
As in ggsave. |
height |
As in ggsave. |
... |
Other available 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) DensityView(dd, samples=c("dmso", "plx")) #or DensityView(dd[, c("dmso", "plx")])