pcoa.plot: Plot PCoAs for simulated data

View source: R/plot_pcoa.R

pcoa.plotR Documentation

Plot PCoAs for simulated data

Description

This function will generate a principal coordinate analysis plot comparing the original data and the simulated data for different groups

Usage

pcoa.plot(sim.location, group, distance)

Arguments

sim.location

file name for the .h5 file containing the simulations

group

character, name of the group within the .h5 file containing the simulated features

distance

character, name of the distance that should be used to calculate the PCoA, should be either "bray" or "log-euclidean"

Value

This function returns a ggplot2 object with a PCoA plot, coloured by group (either real or simulated data).


zellerlab/SIMBA documentation built on June 2, 2025, 6:25 a.m.