CalculateGroupBetaDistance
CalculateGroupBetaDistance.Rd
This function calculates the beta diversity distance between a reference group and other groups in the metadata.
Value
A data frame containing the group names, sample names, and their corresponding beta diversity distances from the reference group.
Examples
if (FALSE) {
beta_diversity <- GetBetaDiversity(mmo, method = 'Gen.Uni',
normalization = 'None', distance = 'dreams', filter_feature = FALSE)
group_distances <- CalculateGroupBetaDistance(mmo, beta_div = beta_diversity,
reference_group = 'Control', groups = c('Control', 'Treatment1', 'Treatment2'))
}