Skip to content

Explore Samples

Sample-level quality control of an expression matrix: distributions, principal components of the most variable genes, a clustered sample-correlation heatmap and a heatmap of the top genes.

  • Before testing for differential expression, to check that replicates resemble each other and groups separate.
  • To find outlier samples, sample swaps or batch effects (samples clustering by batch rather than by condition).
  • To show the main structure of the data in a figure (PCA or heatmap).
  • Values should be on a log scale; for raw counts choose log2 CPM, which applies TMM normalization first.
  • PCA uses the most variable genes (500 by default), centred but not scaled; genes with missing values are left out.
  • Group colours come from a sample annotation dataset (sample-name and group variables), which is optional.
  • Sample Summary: distribution of each sample; very different medians or spreads suggest normalization problems.
  • Principal Components: the share of variance explained by each component. In the PCA plot, samples of one condition should cluster; separation along PC1 by batch is a warning sign.
  • Sample Correlation heatmap: replicates should correlate most strongly with each other. Most Variable Genes: z-scores with genes and samples ordered by hierarchical clustering.

A principal component analysis of the 500 most variable genes (log2 CPM) separated treated from control samples along the first component (59.5% of variance); no outlier samples were found.

Syntax: GENEXPLORE VARIABLES=S01 TO S12 /ID=gene /DESIGN=genomics_samples SAMPLE=sample GROUP=condition /TRANSFORM=LOGCPM.


This page comes from OrcStat’s built-in help (the same text as in the app’s Help panel). To suggest a change, open an issue.