Each Analysis Module’s Parameter panel has a PREPROC section for pre-processing parameters. These parameters control how the feature table is transformed, filtered, or aggregated, across both samples and features, before it is used as the module’s input.

Analysis Metric
Controls the metric by which a feature abundances are represented and normalized in the Data Table that will be processed by the Analysis Modules. The Analysis Metricsavailable in the Cosmos-Hub 2.0 depend on the type of profiles (taxonomic or functional) that were used to build the cohort for the current Analysis Project.Analyses metrics in the Cosmos-Hub 2.0:
Analysis Metrics Available for all Cosmos-Hub Taxonomic Profilers and for Host-agnostic Functional Profilingcounts: the number of sequencing reads assigned to each taxon or functional gene in each sample.relative_abundance: the fraction of each sample’s microbial profile represented by that taxon or function.
relative_abundance is the more intuitive choice because it describes community composition: for example, whether a taxon makes up 1%, 10%, or 50% of a sample. It also makes samples easier to compare when they were sequenced at different depths, because each sample is rescaled to the same total.
Use counts only when the analysis method expects read counts or when the number of reads assigned to a feature is itself important. Keep in mind that read counts are affected by sequencing depth: a sample with more total reads may have higher counts simply because it was sequenced more deeply, not necessarily because the organism is more abundant in the original biological sample.
Analysis Metrics available for Champ Functional Profiling (KEGG KO and Modules, GBM, GMM):
cellular_abundance: represents the relative percentage of species that are able to perform a given function in the microbiome community
Taxonomic Rank
This pre-processing parameter performs a Feature aggregation operation on the input Data Table
Collapsing the same Taxonomic Data Table expressed in counts by Genus
- Taxonomic Rank = Species
- Taxonomic Rank = Genus
Data Table Pre-processing Method
This pre-processing parameter acts on Sample filter and Feature filtering on the input Data Table
Raw: applies no sample pre-processing. All samples in the Data Table are kept, regardless sample sequencing depth.Filter: removes samples with a sequencing depth falling below the chosen Read depth threshold. Selecting this method reveals the Read depth parameter for setting the lower sequencing-depth threshold.This Data Table Pre-processing Method operates a Sample filter operation on the Data TableRarefaction: randomly subsamples reads from each sample down to the selected Read Depth, so that all samples in the table share the same sequencing depth.This method applies a Sample filter and a Data transformation to the Data Table.
Rarefaction and Filtering strategies are currently available for profiles for which Analysis Metric
countsis available.Rarefaction Seed (available when Data Table Pre-processing Method is set to Rarefaction)
Data table rarefaction works by randomly subsampling reads from each sample down to a common depth. Because the selection is random, running the same analysis twice could pick a slightly different set of reads each time, which means your results (diversity values, which rare features survive, and so on) could slightly vary from run to run on identical data.
This parameter only applies when the Data Table Pre-processing Method is set to Rarefaction. Ignore it when Data Table Pre-processing Method is set to
Raw or Filter- Try a few different seeds if you want to check how stable your results are. If your conclusions hold across several seeds, they don’t depend on one lucky draw; if they change a lot, that’s a sign your data is sensitive to subsampling (often because samples are close to the read-depth cutoff).
Feature Prevalence Threshold
Changing Feature Prevalence Threshold operates a Feature filtering operation on the input Data Table

Note: Presence/absence for this threshold is determined by the Feature Relative Abundance Threshold (described next). A feature is considered “present” in a sample only if its relative abundance in that sample meets or exceeds that threshold; otherwise, it is treated as absent for the purpose of calculating prevalence.
Feature Relative Abundance Threshold
Changing the Feature Relative Abundance Threshold applies a simple Data Transformation to the input Data Table.

When to filter by Feature PrevalenceFilter by prevalence when you want to remove features detected in very few samples, since these are more likely to reflect sequencing noise, contamination, or index misassignment than real biology. A common default is to require presence in at least ~10% of samples. Avoid filtering too aggressively if your analysis specifically targets rare taxa or genes.