SingleCorPlot: A single correlation plot

View source: R/visualization.R

SingleCorPlotR Documentation

A single correlation plot

Description

A single correlation plot

Usage

SingleCorPlot(
  data,
  col.by = NULL,
  cols = NULL,
  pt.size = NULL,
  smooth = FALSE,
  rows.highlight = NULL,
  legend.title = NULL,
  na.value = "grey50",
  span = NULL,
  raster = NULL,
  raster.dpi = NULL,
  plot.cor = TRUE,
  jitter = TRUE
)

Arguments

data

A data frame with two columns to be plotted

col.by

A vector or factor of values to color the plot by

cols

An optional vector of colors to use

pt.size

Point size for the plot

smooth

Make a smoothed scatter plot

rows.highlight

A vector of rows to highlight (like cells.highlight in SingleDimPlot)

legend.title

Optional legend title

raster

Convert points to raster format, default is NULL which will automatically use raster if the number of points plotted is greater than 100,000

raster.dpi

the pixel resolution for rastered plots, passed to geom_scattermore(). Default is c(512, 512)

plot.cor

...

jitter

Jitter for easier visualization of crowded points

Value

A ggplot2 object


satijalab/seurat documentation built on May 11, 2024, 4:04 a.m.