plot_clustered_tsne {immunaut} | R Documentation |
Plot Clustered t-SNE Results
Description
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.
Usage
plot_clustered_tsne(info.norm, cluster_data, settings)
Arguments
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:
|
Value
ggplot2 object representing the clustered t-SNE plot.
Examples
## Not run:
# Example usage
plot <- plot_clustered_tsne(info.norm, cluster_data, settings)
print(plot)
## End(Not run)