Expression distribution & aggregation
Compare measurement distributions, categorical compositions, and group averages across samples or patient groups, and explore feature panels with annotated, clustered heatmaps.
Compare measurement distributions, categorical compositions, and group averages across samples or patient groups, and explore feature panels with annotated, clustered heatmaps.
Distribution (per-sample rows)
Description
Analysis summary
Shows the full distribution of a measurement across patient or sample groups with no averaging: every observation stays its own row, whether the quantity is continuous or categorical.
Computation
Every observation is kept as its own row, so nothing is averaged: the measurement is compared between groups on its raw values. For a categorical quantity, the values themselves are the categories each group breaks down into. Pairwise statistical comparisons of the measurement between groups (within each stratum when the data is stratified) are computed automatically and returned with the results.
When to use
Use for 'is X different between the groups' questions on raw measurements: gene expression, signature scores, clinical numerics, or the breakdown of a categorical variable across cohorts. When the quantity only exists already aggregated — a mean value per group rather than one row per observation — use this analysis's group-means mode instead.
Caveats
Groups with few observations give unstable distribution shapes and noisy comparisons.
Example questions
Input columns
Visualizations
violinHow to read: Each violin is one group: its width shows where that group's observations concentrate, the embedded box marks the median and the interquartile range of the values, and the dots are the individual observations. Wider sections mean more observations at that value. When the data is stratified, side-by-side violins are keyed by the legend. Significance brackets with stars mark groups with at least one significant pairwise comparison after multiple-testing correction (★ p<0.05, ★★ p<0.01, ★★★ p<0.001, ★★★★ p<0.0001). The y-axis is the measured quantity.boxplotHow to read: Each box shows the distribution of one group's observations: the centre line is the median, the box spans the interquartile range of the values, and the dots are the individual observations — their vertical spread is the observation-to-observation variability within the group. When the data is stratified, side-by-side boxes are keyed by the legend. Significance brackets with stars mark groups with at least one significant pairwise comparison after multiple-testing correction (★ p<0.05, ★★ p<0.01, ★★★ p<0.001, ★★★★ p<0.0001). The y-axis is the measured quantity.barHow to read: Each bar is one group; its stacked segments (keyed by the legend) show the share of that group's observations falling in each category, summing to 100%, with the percentage written inside each segment. Percentages alone hide the group sizes — hovering a segment shows the underlying counts. Comparing bar heights and segment sizes across groups shows how the category breakdown differs between cohorts. The accompanying statistical table reports the pairwise comparisons between groups.
Example analysis 1
Name — Bulk Expression Distribution of CD8A in TCGA Bladder Patients (Age > 40) by Gender
Analysis parameters
Visualization — violin

Output table
Example analysis 2
Name — Bulk Expression Boxplot of CD8A in TCGA Bladder Patients (Age > 40) by Gender
Analysis parameters
Visualization — boxplot

Output table
Example analysis 3
Name — T Stage Distribution by Cancer Type
Analysis parameters
Visualization — bar

Output table
Group means (raw mean matrix or sample-level distribution)
Description
Analysis summary
Computes the mean of a measurement per group — and per aggregation unit (e.g. sample) when one is given — without z-scoring: the result is one raw mean per group combination, or the full distribution of per-unit means.
Computation
The mean of the measurement is computed for every combination of the grouping variables, and per aggregation unit (e.g. sample) when one is given. Without an aggregation unit the result is one raw mean per group combination — e.g. each feature's (gene's, cell type's) mean in each clinical group. With an aggregation unit, one mean is computed per unit and the result keeps the full distribution of those per-unit means, so the unit-to-unit spread stays available rather than being averaged away. Pairwise statistical comparisons of the means between groups (within each stratum when the data is stratified) are computed automatically and returned with the results; when the compared axis is the patient identifier itself — one sample per patient — no comparison runs, as each patient contributes a single value.
When to use
Use when raw (un-z-scored) group means are explicitly wanted, or when finer-grained observations should be aggregated up to a coarser unit — for example spatial-transcriptomics spot deconvolution fractions averaged per sample. When features with very different baselines must be compared on a common scale, use this analysis's z-score matrix mode instead; to keep every raw observation visible, use the distribution mode.
Caveats
Raw means of features with very different baselines are not directly comparable; and a single mean per group hides the unit-to-unit spread — keep an aggregation unit when that spread matters.
Example questions
Input columns
Visualizations
heatmapHow to read: Each cell shows the raw mean of one feature (row, e.g. a gene) in one group (column): darker/red cells are higher means, blue cells lower ones, on a shared colour scale keyed by the legend. Because the values are raw means rather than z-scores, colour differences between rows reflect each feature's own baseline as much as its group-to-group differences. The accompanying statistical table reports the pairwise comparisons between the columns within each row.boxplotHow to read: Each box shows the distribution of one group's per-unit means (e.g. per-sample averages): the centre line is the median, the box spans the interquartile range, and the dots are the individual aggregation units — their vertical spread is the unit-to-unit variability of the group means. When the data is stratified, side-by-side boxes are keyed by the legend. Significance brackets with stars mark groups with at least one significant pairwise comparison after multiple-testing correction (★ p<0.05, ★★ p<0.01, ★★★ p<0.001, ★★★★ p<0.0001). The y-axis is the mean of the measured quantity.violinHow to read: Each violin is one group: its width shows where that group's per-unit means (e.g. per-sample averages) concentrate, the embedded box marks the median and the middle half, and the dots are the individual aggregation units. Wider sections mean more units with a mean at that value. When the data is stratified, side-by-side violins are keyed by the legend. Significance brackets with stars mark groups with at least one significant pairwise comparison after multiple-testing correction (★ p<0.05, ★★ p<0.01, ★★★ p<0.001, ★★★★ p<0.0001). The y-axis is the mean of the measured quantity.barHow to read: Each bar is one group; its height is that group's mean of the measured quantity. When the data is stratified, side-by-side bars are keyed by the legend (grouped, not stacked — the means are not shares of a whole). The bar shows the typical value per group but not the unit-to-unit spread — use the boxplot or violin for that. The accompanying statistical table reports the pairwise comparisons between groups.
Example analysis 1
Name — Cell Type Composition by Lymphocyte Density in Tumor (Mosaic Bladder and Ovarian Cancer, Age >40)
Analysis parameters
Visualization — boxplot

Output table
Example analysis 2
Name — Cell Type Composition (Mosaic Bladder and Ovarian Cancer, Age >40)
Analysis parameters
Visualization — violin

Output table
Z-score matrix (heatmap)
Description
Analysis summary
Computes the mean of a measurement per feature-group combination, then standardises each feature's row so features with very different baselines become comparable — the conventional form for comparing several genes across clinical groups.
Computation
Group means are computed as in the raw-means mode, then each feature's row of means is z-scored: the row's mean is subtracted and divided by its standard deviation. Each cell therefore shows how far that group's value sits from the feature's own average across groups, in standard deviations, rather than in the measurement's own units. Pairwise statistical comparisons of the means between the groups within each feature's row are computed automatically and returned with the results; when the grouping axis is the patient identifier itself — one sample per patient — no comparison runs.
When to use
Use whenever several features are compared across clinical groups without an explicit preference for raw means: it makes features with different baseline levels comparable on the same scale. Use this — not the clustered-matrix mode — when the request names exactly one stratifying/clinical variable, with no clustering request and no annotation variables. When raw (unstandardised) values are wanted — e.g. a direct group-by-gene mean-expression table — use this analysis's group-means mode instead.
Caveats
Z-scores remove absolute levels: a strongly positive cell means 'high for this feature', not 'high in absolute terms', and rows that barely vary across groups get large-looking relative differences. Averaging across aggregation units yields the typical pattern per group but not the unit-to-unit spread.
Example questions
Input columns
Visualizations
heatmapHow to read: Each cell shows how far one feature's mean in one group sits from that feature's own average across the groups, in standard deviations: red cells are above the feature's average, blue cells below, centred on the mid-point colour. Because each row is standardised separately, comparing colours between rows asks 'where does this group sit relative to the feature's typical level?', not 'which group has the higher absolute value?'. A row whose cells all share one colour barely varies between groups. The accompanying statistical table reports the pairwise comparisons between the columns within each row.
Example analysis 1
Name — Bulk Expression of ERBB2, TP53 and ROR1 by Lymphocyte Density in Tumor (Age > 40)
Analysis parameters
Visualization — heatmap

Output table
Clustered matrix with annotation tracks
Description
Analysis summary
Builds a feature-by-sample matrix (e.g. genes by samples) from per-observation measurements, plus per-sample and per-feature annotation tables carrying additional metadata (e.g. treatment arm, pathway).
Computation
Averages the measurement per (feature, sample) combination into a wide matrix — one row per feature, one column per sample — keeping every feature and sample from the query. Per-sample and per-feature annotation tables (one row per sample or feature, one column per annotation variable) are returned alongside the matrix. No automatic statistical tests are computed in this mode.
When to use
Reach for this mode when the request wants features and/or samples clustered by similarity and/or two or more annotation variables on named samples. When the request names exactly one stratifying/clinical variable with no clustering and no extra annotation variables, use this analysis's z-score matrix mode instead.
Caveats
Clustering is descriptive, not inferential: groupings carry no significance test, and the ordering depends on the clustering settings and the feature panel chosen.
Example questions
Input columns
Visualizations
complex_heatmapHow to read: The heatmap's columns are samples and its rows are features (e.g. genes), colored by each feature's standardised level in each sample: red above the feature's average across samples, blue below, with blank cells where no value exists. Dendrograms attach samples and/or features ordered by similarity — branches that join close to the root are the least alike, and columns/rows sitting side by side within a cluster are the most similar. Each color strip above or below the columns (or left of the rows) gives one piece of metadata per sample or feature, keyed by the legend, so cluster patterns can be read against them; hovering a cell or strip shows the sample and its patient. The rows shown are the most variable ones when the panel exceeds the display cap.
Example analysis 1
Name — Immuno-Oncology Gene Panel Across Bladder Patients, Annotated by TP53 CNV-Alteration Status and Gender, with Per-Gene Number of Mutated Samples as a Row Annotation
Analysis parameters
Visualization — complex_heatmap

Output table
Last updated
Was this helpful?