10. Multiple datasets overview with Megasampler

Create an overview of the expression level of genes in multiple datasets

10.1. Scope

  • The megasampler is a R2 module to investigate the expression level of a gene in any number of the numerous datasets stored in the R2 database
  • Use R2 to compose your selection of datasets to investigate the expression level of a gene
  • Use the megasampler “adjustable settings” to adapt the megasampler graphics
  • The megasampler allows you to quickly get an overview of the selected gene expression level for all the datasets available in the R2 database
  • Go directy from the overview to one-gene view to investigate in detail the expression level in a single dataset.

10.2. Step 1: Selecting multiple datasets

  1. Select “Across Datasets” in field 1, by default the “megasampler” option will be selected in field 2 and click “next”.

    Figure 1: Using across datasets

    Figure 1: Using across datasets

  2. Leave “u133p2, mas5.0” at the “type of data” option and select “ XPO sampler” at “use presets”. The meaning of presets will be explained later on.

  3. The megasampler is unfortunately restricted to microarray data and even then, the analyses are only possible within their own platform. Within the platform the experimental bias is decreased since the dataset originates from the same platform and the same normalization algorithm however many other factors such as experimental conditions, which laboratory etc etc will affect the experimental bias. It is generally accepted that with sufficient samples from different datasets, these datasets can be analyzed together in this manner. Further, an increasing number of datasets in the GEO repository are being remapped and realigned to the same platform, using the TPM algorithm for normalization. Currently, we are also working to make these datasets available through the MegaSampler (2025).

_images/MultipleDatasets_Select1a.pngFigure 1: Select a platform

Megasampler only allows you to query multiple datasets if they are of the same chiptype and normalized by the same algorithm.

  1. With the “selection preset” option a pre-stored dataset collection with associated settings can be selected. Select “XPO sampler” (Expression Project for Oncology (XPO) to pre-select a series of tumor datasets. Click “next”.

    Figure 2: Select a preset

    Figure 2: Select a preset

  2. In the previous screen the preset “XPO” is selected, a collection of datasets is already marked for the megasampler analyses. Clicking in the dataset box the familiar grid with dataset pop-up where other datasets can be added note that the XPO datasets are already ticked. In this way this you can adapt your pre-selection of datasets, do not forget to tick and confirm for each dataset you want to add. In the example we have extended the set tumor category and select the following datasets. Normal Adrenal gland - Various “ 13, Normal Brain PFC - Harris “ 44 and the “ Tumor Neuroblastoma public - Versteeg “ 88” . Enter MYCN and click “next”.

    Figure3: Megasampler adjustment selection

    Figure 3: Megasampler adjustment selection

10.3. Step 2: Viewing a gene in multiple datasets

  1. In the “adjustable settings” panel there are several options to customize the megasampler graph. For every selected dataset, you can change the order in which they are drawn by adjusting the number in the selection boxes. These are processed first, followed by the dataset names in alphabetical order (so changing the order of 1 or 2 datasets should be sufficient). The pull down next to “dataset ordering pull down menu” enables to split one or more dataset by selecting a track , in this way the chosen dataset(s) will be split according to the numbers of groups of the selected track. and click “next”.

    Figure 4: Adjusting the megasampler graph.

    Figure 4: Adjusting the megasampler graph.

  2. R2 now performs a one-way Anova statistical test on the fly. This ANalyis Of VAriance is a statistical test that calculates whether the means of the expression levels between the selected datasets are significantly different.

    Figure 5: Anova test for the selected datasets.

    Figure 5: Anova test for the selected datasets.

By default the megasampler graph is plotted in a so called Box plot representation. If the “add scatter” option is ticked in the gear box the signals of the separate samples are plotted.

Figure 6: YCC expression levels in 15 datasets covering 2174 samples.

Figure 6: MYCN expression levels in 16 datasets covering 2174 samples.

Additional insight can be obtained transforming the data, in this case transform the data to logical values (none) set “graphtype” on barplot and click on “redraw at the bottom of the screen.

Figure 7: Different Megasampler graphical representations

Figure 7: Different Megasampler graphical representations

The plotted graphs for “MYCN” clearly show a high expression level specifically in the Neuroblastoma data sets compared to Normal Tissue and other Tumor datasets. At the bottom of the page it’s possible to adapt dataset coloring, change the order and split datasets in tracks directly.


_images/R2d2_logo.pngDid you know that you can save your selection of datasets and select your stored dataset the next time you login to R2.

_images/MultipleDatasets_Didyou2.png

Storing a preset not only stores the selection of datasets for future use, but will also keep all of the other settings such as order, colors, plot type etc. The same visual representation for any other gene can be generated in this way.

You can can use the adjustable panel to adapt the megasampler graph. In case you split one or more datasets according to a specific track in the previous screen, it’s now possible to skip subgroups from your dataset or, more interestingly, apply different colors for groups within a dataset (see Figure 8).

Figure8: Adjustable settings panel, color groups within adataset.

Figure 8: Adjustable settings panel, color groups within adataset.

10.4. Step 3: Stacking subgroups (or datasets)

It could be that you also want to stack subgroups of datasets in one singlebox (or bar etc) in such way that each single box contains one subgroup of multiple datasets for a selected track. Keep in mind that the track name and the corresponding subgroups must have exactly the same spelling since R2 is checking this in the background. To illustrate this we make use of the EXPO datasets which are currated for their annotation. After selection the datasets, make sure that the Merge track by groups is set to true and you have selected a track in this case the histology track and click submit.

Figure 9: MYCN expression level distribution for all u133-2 datasets in R2.

Figure 9: Adjustable settings panel, stacking subgroups.

Now the expression level of the TP53 gene for a single dataset is plotted next to the separate subgroups of the histology track, each box containing the expression levels for single gene of two datasets divided over the subgroups. Of course there is a big chance that you’re not so lucky that tracks and their subgroups have the same spelling or you want to stack different subgroups for your research questions. In that case you have to create for each dataset new subgroups with the same spelling for each dataset. You can create these customized tracks you want to incorporate in the user section of the main page of R2. Once created you can select those in the megasampler section. In case you want to stack complete datasets in one box/bar you have to make a track with a subrgroups containing all the samples.

Figure 10: MYCN expression level distribution for all u133-2 datasets in R2.

Figure 10: Adjustable settings panel, stacking subgroups.

10.5. Step 4: Expression distribution over many datasets

The blue link view expression in many datasets brings you to a handy module to obtain a quick overview of the expression level patterns for most of the datasets R2 contains (providing that the normalization allows comparison).

  1. Click “view Expression in many datasets” and a new screen (or tab) appears containing a Probeset distribution graph. The color of the dots represent the different dataset categories (cell line dataset, Tumor or Normal Tissue etcetera). Via this 2D distribution module you can easily detect in what way your probeset of interest is expressed in many other datasets. At the Y-axis the 2log transformed average expression level and the standard deviation is represented. The X-axis “overlap avoider” is simply a way to represent all datasets in the plot without overlap of the circles. Figure 9 clearly shows that the MYCN expression is also high in other dataset which could be of interest and a second Neuroblastoma dataset. Next to the graph 2 tables summarize dataset names and a R-value set to “1. This has no specific meaning in this context but comes of use with the 2D-distrubution module where you can quickly scan the correlation between two genes for all datasets of the same platform in R2. This module is discussed in the Correlate Genes tutorial.

    Figure 11: MYCN expression level distribution for all u133-2 datasets in R2.

    Figure 11: MYCN expression level distribution for all u133-2 datasets in R2.

  2. Via the the probeset distribution view you can easily investigate a specific dataset in more detail. Click a preferred colored dataset dot and R2 will generate an one-gene-view graph. The one-gene-view representation is explained in more details in tutorial 2.

10.6. Step 5: Megasearch

We have already discussed the ‘find differential expression’ module for a single dataset to find differentially expressed genes. In the across dataset section we can also apply a similar approach, not between groups within single dataset but for a user defined selection of multiple datasets. However, keep in mind that you can only select datasets of the same platform, the most abundant datasets are of the Affymetrix u133p2 platform. As explained before not every platform can be used for the megasearch due to the normalisation procedure which has been used.

 Megasearch select.

Figure 12: Megasearch select..

  1. Select ‘Megasearch’ in Box 2 and click next
  2. At step 1 select the platform you want to use, for now select the default (u133p2).
  3. Select the datasets you want to use for the analyses, in this example we have selected Normal Brain , AML and Medulloblastoma datasets, click next.

Figure 13: Dataset selection.

Figure 13: Dataset selection.

  1. For the megasearch module only two groups can be used to find the statistical differently expressed genes. In the settings box assign the proper grouping parameters (1 or 2) leave the pulldown menu at the default setting (’NO’) for the datasets and click next.

Figure 14: Assign the statistical group for testing.

Figure 14: Assign the statistical group for testing

  1. In the next adjustable settings menu select at Genecategory ‘transcription regulator Act’ for gene filtering. In the ‘Hugoonce Dataset’ pulldown menu the first selected dataset will be used as target dataset for probeset usage. For most platforms each gene has multiple probesets, when using this option R2 takes the probeset with the highest average signal. For the megasearch you can not use for each dataset a different probeset for a particular gene. In the ‘Hugooce Dataset’ pulldown menu you can change the target dataset in case you already familar with one of the selected datasets to make sure that probesets from single datasets analysis are used. In case of OTX2 which is a marker gene for Medulloblastoma two probesets are designed (242128_at and 231731_at) in the most Medulloblastoma datasets depending of the subgroups 242128_at has the highest expression level and will be picked by R2 however in other type of cancers/tissues there is hardly any expression of the OTX2 gene and in that case the other probeset could easily be selected. At the statictics pulldown menu you can select fdr_modarate_t_statistics (Limma , Limma-git) or the standard uncorrected_t_test. The Limma algorithm is specifically designed for the analysis of gene expression data , leave the statistics at moderate_t_statistics and click next.

Figure 15: Result page 2 groups. Figure 15:Result page

  1. Two tables of genes are generated with the highest significantly expressed genes for group 1 and group 2. The average gene-expression is depicted in the left genelist (group 2) we find in the top 10 , the OTX2 gene which is accociated with medulloblastoma.

Figure 15a: OTX2 Boxplot.

Figure 15a: OTX2 Boxplot

  1. In the previous Adjustable settings box, where the grouping parameters were assigned, you can also split datasets based on their subgoups (tracks) and incorparate the subgroups in different test groups as illustrated in Figure 14.

Figure 16: Assign the statistical subgroup for testing.

Figure 16: Assign the statistical subgroup for testing


_images/R2d2_logo.pngDid you know that the Megasampler can also be used to investigate through the methylation datasets


10.7. Final remarks / future directions

We hope that this tutorial has been helpful, the R2 support team.