BootstrapCumulativeRichness
BootstrapCumulativeRichness.Rd
This function bootstraps the cumulative richness of features across groups in the metadata by randomizing the order of groups. It performs multiple bootstrap iterations to estimate the mean and confidence intervals of cumulative richness at each step.
Value
A data frame containing the mean cumulative richness and confidence intervals for each group index, with columns for group index, mean, lower CI, and upper CI.
Examples
if (FALSE) {
groups <- c("Control", "Treatment1", "Treatment2")
bootstrapped_richness <- BootstrapCumulativeRichness(mmo, groups, n_boot = 1000, ci = 0.95)
}