plot_pcoa: Plot PCoA

View source: R/analysis_clustering.R

plot_pcoaR Documentation

Plot PCoA

Description

Plots either the first 2 or 3 vectors of PCoA.

Usage

plot_pcoa(pcoa, num_components = 2, col = NULL, col_palette = NULL)

Arguments

pcoa

object of class "pcoa", as produced by pcoa_wsaf() function.

num_components

numeric for number of components used. Default = 2.

col

vector by which samples are coloured.

col_palette

vector of colours for each group.


mrc-ide/MIPanalyzer documentation built on Jan. 17, 2024, 7:16 p.m.