Learn R Programming

Seurat (version 3.1.1)

CellScatter: Cell-cell scatter plot

Description

Creates a plot of scatter plot of features across two single cells. Pearson correlation between the two cells is displayed above the plot.

Usage

CellScatter(object, cell1, cell2, features = NULL, highlight = NULL,
  cols = NULL, pt.size = 1, smooth = FALSE)

Arguments

object

Seurat object

cell1

Cell 1 name

cell2

Cell 2 name

features

Features to plot (default, all features)

highlight

Features to highlight

cols

Colors to use for identity class plotting.

pt.size

Size of the points on the plot

smooth

Smooth the graph (similar to smoothScatter)

Value

A ggplot object

Examples

Run this code
# NOT RUN {
CellScatter(object = pbmc_small, cell1 = 'ATAGGAGAAACAGA', cell2 = 'CATCAGGATGCACA')

# }

Run the code above in your browser using DataLab