Paste a data matrix and get a principal component analysis scores plot with the variance explained by each component, samples colored by group, and a downloadable SVG.
6 samples, 4 features
Principal component analysis, introduced by Pearson (1901) and formalized by Hotelling (1933), solves a problem every high-dimensional dataset has: you cannot look at a thousand variables at once. PCA finds the directions of greatest variance in the data, which are the eigenvectors of the covariance matrix, and projects each sample onto the first two. The result is a single scatter plot that faithfully preserves as much of the original spread as two dimensions can hold.
The percentages on the axes are not decoration. Each principal component accounts for a share of the total variance equal to its eigenvalue divided by the sum of all eigenvalues, so a plot where PC1 and PC2 together explain most of the variance is a trustworthy summary, while one where they explain little is a flat shadow of a richer structure. This tool reports the variance explained by the leading components so you know how much of the picture you are seeing.
One decision shapes the result: scaling. Because PCA chases variance, a variable on a large numeric scale can dominate the components for no reason but its units, so scaling each variable to unit variance, a correlation-based PCA, is the safe default for mixed-scale data. For expression values already on a comparable log scale, an unscaled covariance-based PCA is sometimes preferred, and this tool lets you switch between them.
In practice a PCA plot is a quality-control and exploration step: it reveals whether samples separate by biology, flags outliers, and exposes batch effects that would otherwise contaminate downstream testing. It comes before formal analysis, not instead of it. To visualize the genes driving the separation, pair it with the heatmap generator and the correlation matrix generator, and for the complete analysis with proper statistics, the bioinformatics analysis service runs it end to end.
One row per sample with the sample name first, then its feature values, under a header of feature names.
Scale features to unit variance when they are on different scales, running a correlation-based PCA.
Samples project onto PC1 and PC2, colored by inferred group, with the variance each explains.
Download the scores plot as a publication-ready SVG.
Next step
Dimensionality reduction, batch-effect diagnostics, and downstream statistics, handled by a PhD statistician.
Our promise: Free pipeline re-run and figure revisions if reviewers push back.
Timeline
Most projects deliver in under 2 weeks. We confirm an exact date in your quote.
If reviewers push back
If reviewers question the pipeline, parameters, or figures, we re-run the analysis and revise free.
Confidentiality
NDA available on request before any project discussion. Your data, study design, and manuscript stay private either way.
Want a PhD methodologist to handle the whole project?
Get a complete dimensionality-reduction and sample-clustering analysis by a PhD statistician. Free pipeline re-run and figure revisions if reviewers push back. Pay only after you approve your quote.
A PCA plot is a scatter plot of samples in the coordinate system of their first two principal components, the directions that capture the most variance in a high-dimensional dataset. Principal component analysis compresses many correlated variables, such as the expression of thousands of genes, into a few uncorrelated components, and plotting the samples on the first two reveals which samples are similar and whether they separate into groups. It is the standard first look at the overall structure of a dataset.
Samples that sit close together are similar across the measured variables, and samples that separate along an axis differ most in the direction that axis captures. Clear clustering by condition suggests the biological signal dominates the variation, while samples that group by batch instead of biology warn of a technical artefact. The percentage on each axis tells you how much of the total variance that component explains, so a plot where PC1 explains most of the variance and separates the groups is a strong result.
PC1, the first principal component, is the single direction through the data that captures the greatest variance; PC2 is the direction capturing the most remaining variance while being uncorrelated with PC1. They are weighted combinations of the original variables, not any one variable, and together they define the plane onto which the samples are projected. Higher components capture progressively less variance and are usually not plotted.
Usually yes, when the variables are on different scales. Because PCA is driven by variance, a variable measured on a large numeric scale will dominate the components purely because of its units. Scaling each variable to unit variance, which turns the analysis into a correlation-based PCA, prevents this. For gene expression that is already log-transformed and comparable, unscaled covariance-based PCA is sometimes preferred; this tool lets you toggle scaling.
There is no fixed threshold, but you want the first two or three components to capture a substantial share, often more than half, so the plot faithfully represents the data. When PC1 and PC2 explain only a small fraction, the two-dimensional plot hides most of the structure and you should be cautious about reading clusters from it. The variance-explained percentages reported here tell you how much of the picture the plot is actually showing.
Expression datasets have thousands of genes but only a handful of samples, and most genes vary together in a few coordinated ways. PCA reduces that redundancy to a few components, making it easy to spot whether samples separate by treatment, to detect outliers, and to catch batch effects before differential-expression testing. It is a quality-control and exploration step that comes before, not instead of, formal statistical analysis.
To see the genes behind the sample separation as a clustered matrix, the heatmap generator reorders by similarity, and the correlation matrix generator shows pairwise relationships. To select the significant genes first, use the volcano plot generator. For the full analysis with proper statistics, the bioinformatics analysis service takes raw data to results.
Reviewed by
Dr. Sarah Mitchell holds a PhD in Biostatistics from Johns Hopkins Bloomberg School of Public Health and has over 15 years of experience in systematic review methodology and meta-analysis. She has authored or co-authored 40+ peer-reviewed publications in journals including the Journal of Clinical Epidemiology, BMC Medical Research Methodology, and Research Synthesis Methods. A former Cochrane Review Group statistician and current editorial board member of Systematic Reviews, Dr. Mitchell has supervised 200+ evidence synthesis projects across clinical medicine, public health, and social sciences. She reviews all Research Gold tools to ensure statistical accuracy and compliance with Cochrane Handbook and PRISMA 2020 standards.
Our PhD statisticians run the complete pipeline: differential expression with multiple-testing correction, survival modelling, dimensionality reduction, and publication-ready figures with a reproducible methods section. Constant pricing, most projects delivered in under two weeks.
Our promise: Free pipeline re-run and figure revisions if reviewers push back.
Your project is led by a named PhD methodologist with real credentials and published work.
4.9 / 5 across 1,194+ delivered projects