forked from satijalab/seurat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPolyDimPlot.Rd
33 lines (29 loc) · 822 Bytes
/
PolyDimPlot.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
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/visualization.R
\name{PolyDimPlot}
\alias{PolyDimPlot}
\title{Polygon DimPlot}
\usage{
PolyDimPlot(
object,
group.by = NULL,
cells = NULL,
poly.data = "spatial",
flip.coords = FALSE
)
}
\arguments{
\item{object}{Seurat object}
\item{group.by}{A grouping variable present in the metadata. Default is to use the groupings present
in the current cell identities (\code{Idents(object = object)})}
\item{cells}{Vector of cells to plot (default is all cells)}
\item{poly.data}{Name of the polygon dataframe in the misc slot}
\item{flip.coords}{Flip x and y coordinates}
}
\value{
Returns a ggplot object
}
\description{
Plot cells as polygons, rather than single points. Color cells by identity, or a categorical variable
in metadata
}