Skip to contents

This function generates a multidimensional scaling (MDS) plot for a given data matrix. The MDS plot visualizes the similarities or dissimilarities between samples in the data matrix.

Usage

make_mds_plot(data, meta, condition)

Arguments

data

A numeric matrix containing the data.

meta

A dataframe, containign the meta information of data.

condition

The column of the meta dataframe containign the levels that separate the experiment.

Value

A ggplot object representing the MDS plot.