making a PCA from MASH distance result

1

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: 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?


MASH


R


PCA

• 16 views

If you used the -t option in mash dist you have a square distance matrix which can be used as input for e.g. cmdscale


Login
before adding your answer.



Source link