Plot an embedding result
Usage
# S3 method for class 'fastEmbedR_embedding'
plot(
x,
labels = x$labels,
pch = 21,
bg = NULL,
col = "black",
xlab = "Component 1",
ylab = "Component 2",
main = NULL,
...
)Arguments
- x
A
fastEmbedR_embeddingobject.- labels
Optional labels used to color plotted observations.
- pch
Plotting symbol passed to
graphics::plot().- bg
Point background colors. When
NULL, integer colors are derived fromlabels, or white is used when labels are absent.- col
Point border or foreground color.
- xlab, ylab
Axis labels.
- main
Plot title.
NULLderives a title from the fitted method.- ...
Additional arguments passed to
graphics::plot().