cytof_colorPlot: Plot the data with color-coded marker values

Description Usage Arguments Value Examples

View source: R/cytof_postProcess.R

Description

Plot the data with color-coded marker values

Usage

1
2
cytof_colorPlot(data, xlab, ylab, zlab, colorPalette = c("bluered",
  "spectral1", "spectral2", "heat"), pointSize = 1, removeOutlier = TRUE)

Arguments

data

A dataframe containing the xlab, ylab and zlab.

xlab

The column name of data for x lab.

ylab

The column name of data for y lab.

zlab

The column name of data for z lab.

colorPalette

Color Palette.

pointSize

The size of the point.

removeOutlier

If remove the outliers.

Value

A ggplot object.

Examples

1
2
3
4
5
x <- c(rnorm(100, mean = 1), rnorm(100, mean = 3), rnorm(100, mean = 9))
y <- c(rnorm(100, mean = 2), rnorm(100, mean = 8), rnorm(100, mean = 5))
c <- rnorm(300, 10, 5)
data <- data.frame(dim1 = x, dim2 = y, marker = c)
cytof_colorPlot(data = data, xlab = "dim1", ylab = "dim2", zlab = "marker")

haoeric/cytofkit_devel documentation built on May 17, 2019, 2:29 p.m.