Entering edit mode

18 days ago

v.berriosfarias
▴
20

Hello , I have to do a PCA from MASH distance results, I have created a "distances.tsv" file that have the distance results from MASH, I have to plot the dispersion of the points using R. the only tutorial that I found was this: https://replikation.github.io/bioinformatics_side/R/distanceheatmap/ but I dont need a heatmap, for comparisson porpuses, I have to do a PCA, but, how do I make a PCA from this table if the distances were already been calculated with `mash dist`

function?

yes this helped, thanks so much! , now do you know a way of plotting the PCA reults without a biplot, I want my PCA plot look like this: https://cran.r-project.org/web/packages/ggfortify/vignettes/plot_pca.html