Overview
Use comparative analysis to identify similarities and differences between sample groups (cohorts). The analysis creates a matrix showing which organisms appear in each sample, helping you discover trends in your data. Example use case: Compare gut microbiomes of mice on different diets to see how diet affects bacterial composition.Video tutorial
Create analysis using automated cohort splitting
You can automatically generate comparatives using three methods from the Cohorts & Metadata menu. See Cohorts & Metadata for setup details.Using uploaded metadata
Automatically split cohorts based on uploaded metadata instead of manually selecting samples.Using custom tags
Define cohorts by adding custom tags to sample groups in the Cohorts & Metadata menu, then use those tags to create comparatives.Using folder names
Organize samples into subfolders, then use folder names to define cohorts for comparative analysis.Create analysis manually
- Click the comparative analysis button in the menu
- Click Create
- Configure your analysis:
- Name: Enter a descriptive name
- Database: Select from dropdown
- Results type: Choose filtered or total (see Filtering)
- Metric: Select relative abundance, frequency, total matches %, or unique matches %
- Cohorts: Enter names for your sample groups
Select samples
Selection options:- Click checkboxes next to individual samples
- Select all samples using the checkbox next to “file” at the top
- Assign samples to cohorts using the label column checkboxes (L1, L2, L3, etc.)
- Use search boxes above the table to find samples by name or date range
- Toggle example datasets on/off as needed
- Adjust samples per page using the dropdown near the Submit button
- Navigate pages using Previous/Next or page numbers
You must select at least 2 datasets to perform comparative analysis.
Duplicate an analysis
To modify an existing analysis without starting from scratch:- Click the comparative analysis icon in the left panel
- Select the analysis you want to duplicate
- Click Duplicate in the upper right corner
- Modify settings as needed (name, database, samples, filters, or metrics)
- Click Submit
Rename or delete analyses
- Click the comparative analysis icon in the left panel
- Select one or more analyses
- Click the Delete icon (you can delete multiple at once)
- Confirm deletion when prompted
- Note: Deleted analyses are permanently removed but can be recreated from original files
- Select only one analysis
- Click the Rename icon
- Enter a new name using allowed characters: letters, numbers,
',&,(,),[,],+,!,.,-,_