Diff of /man/vrEmbeddingPlot.Rd [000000] .. [413088]

Switch to unified view

a b/man/vrEmbeddingPlot.Rd
1
% Generated by roxygen2: do not edit by hand
2
% Please edit documentation in R/visualization.R
3
\name{vrEmbeddingPlot}
4
\alias{vrEmbeddingPlot}
5
\title{vrEmbeddingPlot}
6
\usage{
7
vrEmbeddingPlot(
8
  object,
9
  embedding = "pca",
10
  group.by = "Sample",
11
  group.ids = NULL,
12
  split.by = NULL,
13
  colors = NULL,
14
  n.tile = 0,
15
  assay = NULL,
16
  ncol = 2,
17
  nrow = NULL,
18
  font.size = 5,
19
  pt.size = 1,
20
  label = FALSE,
21
  common.legend = TRUE,
22
  collapse.plots = TRUE
23
)
24
}
25
\arguments{
26
\item{object}{a VoltRon object}
27
28
\item{embedding}{the embedding type, i.e. pca, umap etc.}
29
30
\item{group.by}{a column of metadata from \link{Metadata} used as grouping label for the spatial entities}
31
32
\item{group.ids}{a subset of categories defined in metadata column from \code{group.by}}
33
34
\item{split.by}{a column of metadata from \link{Metadata} used as splitting spatial entities into ggplot panels, see \link{facet_wrap}}
35
36
\item{colors}{the color set for group.by. Should be of the same size of group.id (if specified) or unique elements in group.by}
37
38
\item{n.tile}{should points be aggregated into tiles before visualization (see \link{geom_tile}). Applicable only for cells and molecules}
39
40
\item{assay}{assay name (exp: Assay1) or assay class (exp: Visium, Xenium), see \link{SampleMetadata}. 
41
if NULL, the default assay will be used, see \link{vrMainAssay}.}
42
43
\item{ncol}{column wise number of plots, for \link{facet_wrap}}
44
45
\item{nrow}{row wise number of plots, for \link{facet_wrap}}
46
47
\item{font.size}{font size of labels, if label is TRUE}
48
49
\item{pt.size}{point size}
50
51
\item{label}{if TRUE, the labels of the ROI assays will be visualized}
52
53
\item{common.legend}{whether to use a common legend for all plots, see \link{ggarrange}}
54
55
\item{collapse.plots}{whether to combine all ggplots}
56
}
57
\description{
58
Plotting embeddings of cells and spots on associated images from multiple assays in a VoltRon object.
59
}