# NOT RUN {
#These examples assume "Time" and "Infection" columns exist in target metadata.
#Make a MDS plot showing all samples, colored based on time point.
plot_mds(filename="mds_plot.pdf", color_var="Time", shape_var="none",
theme=1, returnData=FALSE)
#Make a MDS plot, colored based on time point with shapes based on infection.
plot_mds(filename="mds_plot.pdf", color_var="Time", shape_var="Infection",
theme=2, returnData=FALSE)
# }
Run the code above in your browser using DataLab