Open Shians opened 3 years ago
Hi, Im having an issue with the MDS plotting... The labels change if I use: plot_mds(lmr) + ggtitle("MDS Plot")
or this:
plot_mds(lmr, groups = group, labels = group) + ggtitle("MDS Plot") + scale_colour_brewer(palette = "Set1")
And I dont know which is the right one....
Hi, Im having an issue with the MDS plotting... The labels change if I use: plot_mds(lmr) + ggtitle("MDS Plot")
or this:
plot_mds(lmr, groups = group, labels = group) + ggtitle("MDS Plot") + scale_colour_brewer(palette = "Set1")
And I dont know which is the right one....
@mpodio81, the top one uses the sample names as labels, while the bottom uses the group names. If you had more than one sample per group then the bottom one would have duplicated labels for all samples within the same group. For your case it's up to you whether you want to show group names or sample names.
Currently, there is only support to create the counts matrix to be used for MDS plotting. It would be nice to have a complete function that can take a methy object and directly produces an MDS plot.
Technical concerns are: