cellSigPlot: Hits volcano plot

Description Usage Arguments Details Value Examples

View source: R/cellData-methods.R

Description

Visualizes hits by volcano plot.

Usage

1
2
3
4
5
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

Details

Users can highlight a certain samples during plotting.

Value

Invisibly an object of ggplot

Examples

1
2
3
4
5
6
7
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)

OperaMate documentation built on Nov. 17, 2017, 1:55 p.m.