Free Tools › PCA Plot Generator

PCA Plot Generator: Principal Component Analysis Online

Run principal component analysis on your data and plot the samples on the first two principal components, colored by group, with the percentage of variance each component explains.

FreeNo account neededYour data stays in your browser

Your dataA numeric table with a name column. Sample groups are taken from sample names (e.g. Ctrl_1, Ctrl_2 → Ctrl).
Samples are in
Scale variables
Ctrl_1Ctrl_2Ctrl_3Treat_1Treat_2Treat_3-4-2024-1-0.500.51PC1 (89.1%)PC2 (4.1%)CtrlTreat

Variance explained

PC189.1%Cumulative 89.1%
PC24.1%Cumulative 93.2%
PC33.3%Cumulative 96.5%
PC42.2%Cumulative 98.7%
PC51.3%Cumulative 100.0%

Scaling gives every variable equal weight; without it, high-variance variables dominate. Axis signs are arbitrary. Results match scikit-learn's PCA.

Get new free research tools firstOccasional emails when we add tools and guides. No spam.

We only use your email to send these updates, never share it, and you can unsubscribe by replying to any email or writing to info@timelyscholar.com. Privacy Policy

How to Use the PCA Plot Generator

  1. 1

    Paste your table

    Paste a numeric table with a name column. Name samples by group, such as Ctrl_1 and Ctrl_2, so they are colored by group.

  2. 2

    Say where the samples are

    Choose columns (as in expression tables) or rows.

  3. 3

    Choose the scaling

    Center only (covariance) or center and scale (correlation) when variables are on different scales.

  4. 4

    Read and download

    Check the variance explained by each component, then download the plot as PNG or SVG and the PC scores as CSV.

What a PCA plot shows

Principal component analysis finds new axes, the principal components, that capture as much of the variation in the data as possible. Plotting samples on the first two components shows which samples are similar overall.

In expression studies, PCA is often used to check whether samples group by condition and to spot outliers or batch effects.

How it is calculated

Sources

PCA Plot Generator: FAQ

Should I scale my variables?

Scale (use the correlation matrix) when variables are measured in different units or on very different scales; otherwise variables with large variances dominate the first components.

Related Free Tools

Chat on WhatsApp