plot_mds: Multidimensional Scaling Plot

View source: R/plot_mds.R

plot_mdsR Documentation

Multidimensional Scaling Plot

Description

Plot samples on a two-dimensional scatterplot so that distances on the plot approximate the typical log2 fold changes between the samples.

Usage

plot_mds(
  screenR_Object,
  groups = NULL,
  alpha = 0.8,
  size = 2.5,
  color = "black"
)

Arguments

screenR_Object

The Object of the package create_screenr_object

groups

The vector that has to be used to fill the plot if NULL the function will use the default groups slot in the object passed as input.

alpha

The opacity of the labels. Possible value are in a range from 0 to 1.

size

The dimension of the labels. The default value is 2.5

color

The color of the labels. The default value is black

Value

The MDS Plot

Examples

object <- get0("object", envir = asNamespace("ScreenR"))

plot_mds(object)

EmanuelSoda/ScreenR documentation built on Sept. 29, 2023, 12:33 a.m.