
Performs the indicator analysis based on taxonomic summary object
indicator_analysis(taxobj, taxlevel, func = "r.g", reads = FALSE)
A data frame with the results of the indicator analysis, including adjusted p-values, tags and taxonomic information.
Configured tax summary objects.See in object_config
.
taxonomy levels used for visualization.Must be one of c("Domain","Phylum","Class","Order","Family","Genus","Species","Base").
Default: "r.g".The function to use for the indicator analysis, see in multipatt
A logical value indicating whether the input data is in terms of raw reads (TRUE) or relative abundance (FALSE)
multipatt
, how
data("Two_group")
if (requireNamespace("indicspecies", quietly = TRUE) &&
requireNamespace("permute", quietly = TRUE)) {
set.seed(999)
indicator_results <- indicator_analysis(
taxobj = Two_group,
taxlevel = "Genus"
)
head(indicator_results)
}
Run the code above in your browser using DataLab