MDS_plot: MDS plot

View source: R/fct_04_pca.R

MDS_plotR Documentation

MDS plot

Description

Draw a multidimensional scaling (MDS) plot

Usage

MDS_plot(data, sample_info, selected_shape, selected_color, plots_color_select)

Arguments

data

Matrix of gene data that has been through pre_process()

sample_info

Matrix of sample information from experiment design file

selected_shape

String designating factor to shape points by. Should be one of the design factors from the design file or "Names" as default which automatically detects groups from gene data file

selected_color

String designating factor to color points by. Should be one of the design factors from the design file or "Names" as default which automatically detects groups from gene data file

plots_color_select

Vector of colors for plots

Value

A ggplot object formatted PCA plot

See Also

Other PCA functions: PCA_Scree(), PCA_biplot(), PCA_plot(), PCA_plot_3d(), PCAtools_eigencorplot(), pc_factor_correlation(), t_SNE_plot()


espors/idepGolem documentation built on Oct. 27, 2024, 4:56 a.m.