Introduction
Comparative analysis is used to view groups of samples to determine similarities and differences between them. It works by taking the resulting organisms from all samples selected and making a matrix. This matrix contains each organism and each sample and identifies whether or not each organism was found in a sample. You can also select groups of samples, also known as cohorts, to compare to each other so you can determine differences or similarities between the groups. Comparative analysis allows you to look for trends in your data. For example, certain bacteria might be present in higher abundance in certain cohorts. An example would be comparing the gut microbiome of mice fed different diets. Some groups may have different gut bacteria depending on what they eat.Video walkthrough of Metadata import and generating comparative analyses using it
Create a New Comparative Analysis using uploaded metadata from the Cohorts & Metadata Menu
Cosmos-Hub allows you the option to generate comparatives automatically using automated cohort splitting instead of selecting each sample manually for different cohorts. Please refer to the Cohorts & Metadata section in the documentation to learn how to add metadata to your samples. The video down below gives you a short demonstration on how to use this functionality for your use-case.Create a New Comparative Analysis using Custom Tags added from the Cohorts & Metadata Menu
Cosmos-Hub allows you the option to generate comparatives by using user defined custom tags. The custom tags can be added to a group of samples from the Cohorts & Metadata Menu. Different cohorts within a project can be defined by using custom tags for individual cohorts respectively. Once the custom tags are added to the respective samples within the project, you can create comparative and define comparative cohorts using the custom tags you added previously for your different cohorts. The video down below gives you a short demonstration on how to use this functionality for your use-case.Create a New Comparative Analysis using Folder Names from the Cohorts & Metadata Menu
Cosmos-Hub allows you the option to generate comparatives by using folder Names. Cohorts within a project can be defined by creating sub-folders to bin the samples that belong to certain cohorts respectively. Different folder names for individual cohorts can then be used to create comparatives and define comparative cohorts using the different folder names you added previously from the cohorts and metadata menu. The video down below gives you a short demonstration on how to use this functionality for your use-case.Create a New Comparative Analysis from the Comparative Analysis Section on the menu
To create a new comparative analysis, navigate to the comparative analysis page by clicking on the comparative analysis button. If you have already run some comparative analyses they will appear here. Click on the “Create” button. Enter a name for your comparative analysis report. Select database from the dropdown menu. Select filtered or total results to use for the comparative analysis. Read more about Filtering. Select the value to use for the comparative analysis. For the main databases, you can choose relative abundance, frequency, total matches %, or unique matches %. Click here for the Definition of each of these values. Cohorts are available to define groups of samples. Enter the names you wish to use in the cohort boxes.Select Samples
To select samples you can click the check box to the left of the sample. You can do this for individual samples or for all samples by clicking the check box next to “file” at the top of the sample table. You can also assign samples to labels by selecting the check box under the correct label column. By default, if not given names, the labels are called “L1, L2, L3,” etc. in the table. You can search for a sample name or date range by entering the search term in the search boxes just above the sample table. You can toggle on and off the initial example data sets provided. Under the “submit” button on the right you can change the number of samples that are viewed at a time by selecting a number from the drop down menu. To scroll through pages of samples, click on the page numbers or “previous” or “next” at the bottom of the table. In the sample selection table, in addition to the sample name, you will see the sample size and number of hits for that database (the number of organisms or genes identified).You must select at least 2 datasets to perform comparative analysis.