
Visualize embedding space using dimensionality reduction
Source:R/visualization.R
viz_embeddings.Rd
Visualize embedding space using dimensionality reduction
Usage
viz_embeddings(
x,
method = c("umap", "tsne", "pca"),
labels = NULL,
color = NULL,
n_neighbors = 15,
perplexity = 30,
images_column = NULL,
...
)
Arguments
- x
A tidyvec object
- method
Dimensionality reduction method ("tsne", "umap", "pca")
- labels
Column to use for point labels
- color
Column to use for point colors
- n_neighbors
Number of neighbors (for UMAP)
- perplexity
Perplexity parameter (for t-SNE)
- images_column
Optional column containing image paths to use instead of points
- ...
Additional arguments passed to the plotting function