forked from satijalab/seurat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCellScatter.Rd
46 lines (38 loc) · 962 Bytes
/
CellScatter.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/visualization.R
\name{CellScatter}
\alias{CellScatter}
\alias{CellPlot}
\title{Cell-cell scatter plot}
\usage{
CellScatter(
object,
cell1,
cell2,
features = NULL,
highlight = NULL,
cols = NULL,
pt.size = 1,
smooth = FALSE
)
}
\arguments{
\item{object}{Seurat object}
\item{cell1}{Cell 1 name}
\item{cell2}{Cell 2 name}
\item{features}{Features to plot (default, all features)}
\item{highlight}{Features to highlight}
\item{cols}{Colors to use for identity class plotting.}
\item{pt.size}{Size of the points on the plot}
\item{smooth}{Smooth the graph (similar to smoothScatter)}
}
\value{
A ggplot object
}
\description{
Creates a plot of scatter plot of features across two single cells. Pearson
correlation between the two cells is displayed above the plot.
}
\examples{
CellScatter(object = pbmc_small, cell1 = 'ATAGGAGAAACAGA', cell2 = 'CATCAGGATGCACA')
}