Learn R Programming

OperaMate (version 1.4.0)

cellSigPlot: Hits volcano plot

Description

Visualizes hits by volcano plot.

Usage

cellSigPlot(object, outpath = getOption("opm.outpath"), color.highlight = getOption("opm.sig.color.highlight"), color.background = getOption("opm.sig.color.background"), highlight.label = NULL, highlight.label.color = getOption("opm.sig.label.color"), ...)

Arguments

object
a cellData object
outpath
diretory of the output figures
color.highlight
a character specifying the color of the hits
color.background
a character specifying the color of the other samples
highlight.label
a vector of characters specifying the names of the samples to be highlighted, with the names are the "barcode:wellID".
highlight.label.color
a character specifying the color of the labels
...
arguments of the graphic device and ggplot2

Value

Invisibly an object of ggplot

Details

Users can highlight a certain samples during plotting.

Examples

Run this code
data(demoCell)
op <- options("device")
options("device" = "png")
labels <- c("Axin1")
names(labels) <- c("DSIMGA04:C07")
cellSigPlot(oneCell, highlight.label = labels, outpath = tempdir())
options(op)

Run the code above in your browser using DataLab