Skip to contents

Function to calculate ordination with different methods

Usage

calculate_ordination(abun_table, method, distance = "bray", group = NULL)

nmds_ordination(abun_table, distance)

pca_ordination(abun_table)

pcoa_ordination(abun_table, distance)

Arguments

abun_table

Feature abundance table

method

Ordination method

distance

Dissimilarity distance to calculate. Available options are those from vegan::vegdist()

Value

Object returned depend on the selected method