plot_clustered_tsne | R Documentation |
This function generates a t-SNE plot with cluster assignments using consistent color mappings. It includes options for plotting points based on their t-SNE coordinates and adding cluster labels at the cluster centroids. The plot is saved as an SVG file in a temporary directory.
plot_clustered_tsne(info.norm, cluster_data, settings)
info.norm |
A data frame containing t-SNE coordinates ( |
cluster_data |
A data frame containing the cluster centroids and labels, with columns |
settings |
A list of settings for the plot, including:
|
ggplot2 object representing the clustered t-SNE plot.
## Not run:
# Example usage
plot <- plot_clustered_tsne(info.norm, cluster_data, settings)
print(plot)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.