forked from igordot/phenomenalist
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplot_spatial.Rd
More file actions
34 lines (29 loc) · 1.1 KB
/
plot_spatial.Rd
File metadata and controls
34 lines (29 loc) · 1.1 KB
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
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot-spatial.R
\name{plot_spatial}
\alias{plot_spatial}
\title{Plot cells on their spatial coordinates}
\usage{
plot_spatial(
x,
color_by,
assay = "logcounts",
smooth = FALSE,
range = c(0.01, 0.99),
out_dir = NULL
)
}
\arguments{
\item{x}{A \linkS4class{SpatialExperiment} object.}
\item{color_by}{Column metadata field(s) or feature(s) to color by.}
\item{assay}{A character string indicating which expression values should be used.}
\item{smooth}{A logical scalar. Smooth values. Helps to visualize expression patterns in a plot with many overlapping points.}
\item{range}{A vector of 2 values indicating the minimum and maximum percentiles for the color range. Helps to visualize expression patterns when extreme outliers are present. For example, \code{c(0, 0.99)} will not expand the color scale above 99th percentile.}
\item{out_dir}{Name of the output analysis directory. If specified, the plots will be saved there.}
}
\value{
.
}
\description{
Plot cell-level physical coordinates stored in a SpatialExperiment object.
}