M3C icon indicating copy to clipboard operation
M3C copied to clipboard

How can I combine fviz_pca_ind() visualization power with M3C ggplot PCA object?

Open Rohit-Satyam opened this issue 4 years ago • 0 comments

Hi!!

I was developing a package wherein I needed to write a function for dimensionality reduction of a matrix and visualize the plots and M3C turns out to be the perfect recipe for it. Thanks for pooling together PCA, TSNE, and UMAP in one package with uniform argument passing ability.

But I am facing a challenge. To make graphs more appealing, previously with prcomp output I was using fviz_pca_ind() function to make plots like shown below: image

I was able to change shapes and encircle the data points according to group type (There are 4 groups in the plot below) using the fviz_pca_ind() function. Is there a way to achieve the same in the M3C package too because all I can see is a dotsize parameter:

image

Rohit-Satyam avatar Jul 20 '21 11:07 Rohit-Satyam