- Guide
- Flow Cytometry
- Flow visualization
Flow Cytometry Plots and Compensation
Plots are how you read a Cytometry analysis. This page covers adding plots, setting their type and axis scales, coloring and overlaying populations, and applying compensation to remove spillover from your data.
Adding a Plot
When you first open a file, Conspecta adds a starting plot, a density plot of FSC against SSC when the file has those channels.
To add another plot, follow these steps.
- Click Add plot at the top of the Tools section in the sidebar, or press
A. - Click one of the suggested plots, or set up your own under or customize.
The suggestions come from your panel, such as FSC against SSC for size and granularity, FSC-A against FSC-H for doublet discrimination, and a histogram. Under or customize you choose the plot type, both axes, and the scale of each axis. Pick 3D scatter plot and a Z-axis parameter row appears for the third channel.
Once you have drawn a gate, Population appears at the top of the dialog box. It sets which population the new plot shows, and everything below it applies to that population. This lets you open a plot inside a gate here, as well as with New plot on the gate itself.
When the Plot Is Already Open
A plot is defined by its population and its pair of channels. Plot type doesn't count, so a density plot and a scatter plot of the same population on the same channels are the same plot.
If the plot you set up by hand is already open, the dialog box says so and its button reads Go to plot, which takes you there. Duplicate beside it adds a copy you can gate separately.
Plot Types
Choose the type from the menu at the top left of any plot.
| Type | Use it for |
|---|---|
| Scatter | Individual events, best when you have few of them |
| Density | Event density as color, the usual choice for gating |
| Contour | Density as lines, which reads well in print |
| Histogram | One parameter's distribution |
| 3D scatter | Three channels at once, in a box you can turn. Plotting Three Channels in 3D covers it |
Histograms plot % of Max, so you can compare distributions with very different event counts.
A histogram of the Time channel plots the event rate across the run instead, so a clog or a pressure drop shows as a dip. Where other histograms show CV, it shows the run's length and mean rate, such as 12.4 s · 810 events/s.
On a Lin axis the Time histogram reads Events per second against Time (s), or minutes for a long run, when the file records how long each tick of its clock lasts and every file on the plot shares that clock. Otherwise it reads Events per bin against the clock's raw ticks.
Axis Scaling
Click an axis label to change its channel, its scale, or its range. The menu has three parts.
- The four scales, Lin, Log, Logicle, and Asinh, sit across the top.
- Range is Full range or Fit to events. Full range spans everything the instrument can record on that channel, so a value sits in the same place in every sample. Fit to events zooms the axis to the events on the plot, which helps with a small or dim population, and marks the axis label so you can tell the axis now moves from sample to sample. A Time or computed axis is always fitted and has no Range row.
- Below them are the file's channels, grouped under Scatter, Markers, Computed, and Other. Each channel is named by the marker it measures, with its detector beside it (CD4 next to FITC-A).
Type in Search channels to narrow the list.
Use Logicle for compensated fluorescence. It is linear near zero and logarithmic above it, so events at or below zero after compensation stay spread out where you can see them. FlowJo draws the same scale, so a gate you draw here sits where you'd expect, and a gating strategy imported from a .wsp keeps the axis it was drawn on.
Adjust the Logicle or Asinh Curve
Pick Logicle or Asinh and a Logicle curve or Asinh cofactor row appears under the scales. It reads Default or Custom. Click it to open the numbers that shape the curve.
- For logicle, Top of scale (T), Linear width (W), Decades (M), and Extra negative decades (A)
- For asinh, Cofactor
A plot imported from a .wsp shows the values it came with, ready to check against the FlowJo file or correct.
Above the fields, the plot's events are drawn on the curve and redrawn as you type, so you can watch a population squashed against zero spread out before you apply the change.
Edit the values and click Apply, or press Enter in any field. The axis reshapes, and every gate evaluated on it moves with it. If you close the menu without applying, your edit is discarded. Reset to defaults puts the standard curve back.
Scale is set on each plot separately. Changing it on a parent plot leaves its child plots as they are.
Reading and Coloring a Plot
Each plot's header has three buttons on the right, and the first two say how the plot is set up without being opened.
- Gates gives how many gates the plot has, or how many are showing when some are hidden, such as Gates 7/29.
- The color button names what the colors show, such as a marker like CD90.2, Cluster ID, or Populations. It's a plain palette while the plot shows density.
- The ⋯ button, Plot actions, holds what you can do with the plot.
On a small plot, Gates keeps its count and the color button keeps its swatch.
Plot actions holds these, top to bottom.
| Row | What it does |
|---|---|
| View, then On all N samples | Draws the plot for every loaded sample |
| View, then All channel pairs | Draws every pair of channels for the plot's population |
| Add to, then Figure, Notebook or Slide deck | Puts the plot there |
| Export plot | Opens the plot in the figure export |
| Copy plot | Copies the plot as a picture, and its view to paste onto another population |
| Duplicate plot | Adds a second plot of this population that gates on its own |
| Paste plot here | Appears once you've copied a plot, or reads Paste gate once you've copied a gate |
| Remove plot | Removes the plot |
Change How One Plot Looks
What you set from Gates and the color button applies to that plot alone.
The color button holds the colors.
- Color by colors events by None, Parameter (a parameter's value), or Population (the population each event falls into). Population appears once the analysis has gates.
- Color scheme appears on density and contour plots, and whenever you color by a measured parameter. A plot colored by cluster uses the cluster colors.
- Show legend turns the key on or off. It's offered when the plot has a key to show, such as a color ramp, the populations it's colored by, or back-gated populations. On a density or contour plot, turning it on here also shows the Low to High color ramp on that plot.
- Show cluster numbers appears on a plot colored by cluster, and turns the number printed on each cluster on or off.
Gates holds what the plot outlines.
- Show gates turns the gate outlines on or off. Turn it off to keep a clean copy of a population with no outlines over it.
- When some of the plot's gates came from clustering, Show lists where they came from instead, with Drawn by hand and each clustering run that made gates on the plot, such as K-means · GF-4 cecum LP, with how many gates each holds. Clear a box to hide that run's outlines, or use All and None beside the heading. The four newest runs are listed, and older ones open under older runs.
- Backgate lists the populations gated beneath this plot. Click one to overlay it on the plot, or click All or None beside the heading to add or clear them all. Once a population is on, the arrow at the end of its row lets you change its color.
- Gate labels sets which of % of parent, Count, and Cells/µL this plot's gate labels show under each name.
Change Every Plot at Once
Display, at the top right of the canvas, holds the settings every plot shares. On a phone it's Display (all plots) under ⋯.
- Events drawn per plot caps how many events each plot draws, at 10k, 50k, 100k, or All. The default is 50k. Set it higher before you draw a gate around a rare population in a tail.
- Color scheme shows six color ramps. Viridis is the default and the one to use in a paper. The others are Jet, Plasma, Inferno, Magma, and Grayscale.
- Show legend turns the key on or off.
- Density scale adds the Low to High color ramp to density and contour plots. It starts off, and is unavailable while Show legend is off.
- Gate labels sets what each gate's label shows under its name. % of parent is on to start. Turn on Count for the gate's event count, or Cells/µL for its concentration, such as "54.6% · 27.3K · 455/µL". Cells/µL is offered when the FCS file records how much sample the cytometer drew.
A change here updates every plot except the ones you styled by hand from their own header. Display says how many plots have their own styling, and Match them to these settings brings them back in line.
Scatter, density, and contour plots draw a sample of events up to the cap. Counts, percentages, and every statistic always use every event. The cap changes only what you see.
Beside the plot type, the plot's header shows how many events it draws, such as 50k of 2.4M events, or All 78k events when nothing is left out. Check it before a plot goes into a figure, because a capped plot looks the same as a full one. Click it to see the exact counts and change Events drawn per plot without opening Display.
Histograms count every event, and plots of 10,000 events or fewer draw every event at any setting, so neither shows a count. Plots too small to fit the count leave it out, which is most of them when you fit the whole tree in the window.
Overlay Populations or Files on a Histogram
A histogram's header has two more buttons.
- Overlays stacks other populations on the same axes, to show a shift between gates.
- Files overlays the same plot from other files, to show a shift between samples. Every file is drawn on one axis wide enough for all of them, and shows the same population the plot does. On a gated plot, a file appears once that gate has been counted in it.
Tip: To overlay populations on a scatter, density, or contour plot, open its color button and set Color by to Population, or turn them on under Gates, then Backgate.
Plotting Three Channels in 3D
A 3D scatter plots three channels in a box you can turn, so you can see how populations separate across all three before you pick two to gate on. Choose 3D scatter from a plot's type menu, or 3D scatter plot in the Add Plot dialog box.
Each axis is named by a button beside it that turns with the plot, and works like an axis label on a 2D plot. Turned flat to two channels, the plot hides the button of the third, which points straight at you. Turn the plot to change that channel.
Turning and Zooming
Click the plot to select it first. A drag on a plot you haven't selected moves the view, as on any plot.
- Drag to turn it.
- Hold
Cmd/Ctrland scroll, or pinch, to zoom it. A plain scroll still zooms the tree. - Double-click to go back to its saved angle.
On a phone, one finger turns a selected plot and two fingers zoom it. Turning and zooming change only your own view. To keep an angle, choose Save this angle under View. The saved angle is the one figures, slides and the analysis card show.
The View Menu
View sits beside the plot type, and a 3D scatter has no Gates button. View names the flat view you're looking at, such as X·Y, or reads View while the plot is turned between them.
| Row | What it does |
|---|---|
| A pair of channels such as BV421-A vs BV605-A, under Turn to | Turns the plot flat to those two channels, the first across and the second up, as the 2D plot of them shows them. Each is tagged X·Y, X·Z or Y·Z |
| Three-quarter view | Turns the plot back to the angle a new 3D scatter opens at, with all three axes in view |
| Saved angle | Goes back to the angle saved with the analysis |
| Save this angle | Saves the angle on screen with the analysis. It shows only while the plot is turned away from its saved angle |
| Make 2D plot of this view | Adds a density plot of the two axes you're facing beside the 3D plot, ready to gate. Turned between faces, it uses the two you're closest to facing |
Choosing a view, like turning, leaves the saved angle as it was. Make 2D plot of this view is also under View in the plot's Plot actions menu.
Gating From a 3D Scatter
Gates are drawn on 2D plots. With a 3D scatter selected, the sidebar's gate tools are turned off and the first row reads Gates are drawn on 2D plots. The Make 2D plot of this view link under it adds a plot you can gate on. To see your gates on a 3D scatter, open its color button and set Color by to Population.
3D Plots in Figures, Slides and Clips
A figure panel or a slide shows a 3D scatter at its saved angle, and follows a new angle when you save one in the analysis.
- In a figure, Angle in the panel's editor gives the panel an angle of its own. Figures covers it.
- On a slide, select the plot and open Angle on the bar beside it. Set here keeps the slide at the angle it shows now.
- While you present, drag a 3D scatter to turn it in front of the room. The turn leaves the deck as it was. Clear Turn while presenting under Angle to keep the plot still.
To export a clip of the plot turning, choose Export plot in its Plot actions menu and pick MP4 clip as the format. The clip is one full turn at the plot's tilt.
| Setting | Choices |
|---|---|
| Size | 1080 × 1080, square or 1920 × 1080, wide |
| Length | 4 s, 8 s or 12 s |
Export MP4 saves the file. In a browser that can't write MP4, the format reads WebM clip and saves a WebM file.
Duplicating a Plot
Duplicate a plot when you want the same population twice, such as once on a linear axis and once on log, a density beside a contour, or two gating attempts side by side. Click Duplicate plot in the plot's Plot actions menu, or Duplicate in the Add Plot dialog box when the plot you asked for is already open.
The copy starts with the original's gates, plot type, axis scales, and coloring. From then on the two are separate. Move, rename, or delete a gate on one and the other stays as it was, so a tighter gate and a looser one can sit side by side with their own numbers.
- The gates on the copy are new populations, counted separately. A child plot you open under one of them belongs to that copy alone.
- Only the gates drawn on the plot itself are copied. Populations gated further down stay with the original.
Without duplicating, a gate belongs to its population. Two plots of the same population on the same channels show the same gates, and editing a gate on one changes it on both. Duplicate a plot to get a separate set.
Copying a Plot
Copy a plot to reuse its setup (plot type, channels, scales, and colors) on another population. Click Copy plot in Plot actions, or press Cmd/Ctrl + C with the plot focused.
Copying also puts a picture of the plot on your system clipboard, ready to paste into a slide, a message, or a note.
To paste the setup, click Paste plot here in the Plot actions menu of the plot whose population you want, or press Cmd/Ctrl + V. The keyboard pastes onto whatever you have selected.
| What you have selected | Where the plot goes |
|---|---|
| A plot | On that plot's population, beside it |
| A gate on a plot | On that gate's population, one tier down |
Select a gate and paste to get the same view of the population inside it, without picking channels and scales again on the way down a branch.
- A pasted plot has no gates, ready for you to gate. Duplicate plot copies the population and its gates as well as the view, so use it for two gating attempts on the same cells.
- The copy stays available until you copy another plot or a gate, so you can paste the same view onto several populations in a row. You can also paste it into another analysis in the same browser tab.
- Channels are matched by name. Pasting a CD3 against CD4 plot into a sample whose panel is in a different order still gives you CD3 against CD4. If the new sample has no channel by that name, the plot is still pasted and a message names the channel to check.
Copying a Gate
Copy a gate to put the same gate, with exactly the same boundary, on another population. Two branches gated with one boundary differ only in their cells, which two hand-drawn gates can't promise.
- Select the gate and press
Cmd/Ctrl + C, or choose Copy gate in the gate's ⋮ menu. - Select a plot of the other population on the same two channels and press
Cmd/Ctrl + V, or choose Paste gate in that plot's Plot actions menu.
The copy keeps the gate's name, color and note, and the statistics table lists it under its own gating path. It comes without the gates below it. One Cmd/Ctrl + Z removes it.
A plot on other channels can't take the gate, and a message says which channels it was drawn on. A histogram takes only a range gate on its channel.
Scanning Every Channel Pair
With a many-color panel, hunting for the next gate one plot at a time is slow. All channel pairs in a plot's Plot actions menu opens a dialog box that draws every pair of the selected channels against each other, for the population that plot shows. Each cell is one pair, and the diagonal shows each channel's histogram. A cell where the cloud tilts or splits is a pair worth adding as its own plot.
Channels picks what the grid draws. It starts with your first six fluorescence channels and takes up to ten, which makes a grid of 100 plots. Export image opens the grid with two tabs. Export sets the format, size, and file name and downloads or copies it, and Annotate marks it up first.
Navigating a Large Tree
The plots on the canvas are your gating tree. Gate and Analyze Flow Cytometry Data covers building one.
- Two buttons in the top right corner of the canvas move the view. One zooms in on the selected plot (
F), and the other fits every plot back in the window (O). They appear once you have more than one plot. - On a zoomed-out tree, click or tap a plot, or the box on an arrow between plots, to zoom in on it. Its buttons work once you're zoomed in.
- Scroll to zoom. Drag any plot, or the space between plots, to move the view. A drag on the plot you focused stays on that plot, and with a gate tool picked, a drag on any plot draws a gate. Hold
Space, or use the middle mouse button, to drag the view from anywhere. - The arrow keys move from plot to plot along the gating tree, following the hierarchy wherever the plots sit on screen. Hold
Shiftto stop at the arrows between plots, where each gate's name and count sit.Shift + ↓zooms in on the next arrow down andShift + ↑on the next one up. - On a large tree, a small map of it appears in the bottom right corner. Click a plot's box on the map to focus that plot, or click the space between boxes to move the view there.
- The path above the plots shows the gating route to the selected plot.
Compensation
Click Compensation in the Analysis section of the sidebar. The dialog box has two tabs.
- Matrix holds the numbers.
- Controls holds the tubes they came from, and the check that the matrix corrects them.
A view-only member sees the Matrix tab only.
Read, Edit, or Import the Matrix
If the file has a spillover matrix from the cytometer, it is already on the Matrix tab as a heatmap. Click Edit to change the values in a table. Any value above 10% is shaded amber, so you can spot an obviously wrong number before you apply it.
The matrix corrects each file's channels by name. If a channel in the matrix matches no channel in some of the analysis's files, a notice above the matrix names that channel and those files, so you can check the matrix before you apply it.
| Button | What it does |
|---|---|
| Apply compensation | Applies the matrix to the data. It reads Apply edited matrix while you're editing, and Re-apply once compensation is on |
| Remove compensation | Puts the raw data back |
| Import / Export | Reads a matrix from a CSV file, or saves the one you're using |
Tag Your Controls
The Controls tab has two sides. The list of files is on the left, and the pane on the right holds the selected control's plots and the matrix you measure. Before a matrix is applied, the plots show the control's events uncompensated, so you can see the spillover the matrix has to remove. Once it is applied, they become the check. Click a tagged file's name or its not checked label to show it in the pane.
Files whose name points at a detector, such as "FITC ctrl.fcs", lead the list under Single-stain controls, with that detector beside each one. Tag 9 matched controls tags all of them at once, and Untag all takes every tag off again.
Everything else, such as study tubes and an Unstained tube, is folded into Other files. To tag a file by hand, follow these steps.
- Check the file.
- Pick the detector its tube was stained for.
Files that aren't loaded are listed too, with a Load button. A tag only names a detector, so you can tag them now and they are measured and checked once loaded. Tags save with the analysis, so you set them once per experiment.
Each detector can be tagged on one tube only.
- A detector another tube already has reads (taken) and can't be picked.
- A second file whose name points at the same dye, such as "FITC ctrl rerun.fcs", is left untagged for you to place, by a check and by the tag-all button alike. The detector beside it reads (taken).
Compute the Matrix
The pane beside the list says which data the matrix will come from.
- With at least two tagged controls loaded, Conspecta measures spillover from them. This gives the more accurate matrix.
- With fewer, it approximates the matrix from the open file, and the line names any tagged file it can't use yet.
Two values under that line shape the measuring. Positive threshold (%) is how bright an event must be to count as positive, and Min positive events is how many positive events each channel needs.
Click Measure matrix and the result appears in the pane. Channel quality lists each channel's positive-event count and its maximum spillover, and colors any channel whose control is weak or unusable. Below it, a preview of the matrix shows values above 10% in red. Measuring needs at least two fluorescence channels. With fewer, you see a message in place of a matrix.
The button you get to apply the matrix depends on the controls.
| What the controls look like | The button |
|---|---|
| Every control usable | Apply matrix |
| A control that isn't a measurement (almost no positive events, no signal in its own detector, or more spillover into another detector than into its own) | Apply is turned off, with the reason and the control's name beside it. Re-tag or replace that tube and click Measure again |
| A control under the minimum you set | Apply anyway, shown as a secondary button. The matrix is usable but noisier, and applying it is your call |
Your AI assistant can compute the matrix from the same single-stain controls. It asks which detector a tube was stained for whenever the tube's name names none, and once you agree it saves the matrix to the analysis and applies it, which changes every count the way applying it here does.
Check It Worked
Applying from the Controls tab leaves the dialog box open, so you can check the result.
Once a matrix is applied, each tagged control shows a verdict beside its detector.
| Verdict | What it means |
|---|---|
| 8 aligned, in green | Every pair is level, and the number counts them |
| 1 to fix, in red | That many pairs still leak |
| not enough events | The control has too few events to judge |
| tag another | It is the only tagged control, so there is no other detector to read it against |
| not checked | No matrix is applied yet |
| load to check | The file is tagged but not loaded |
Click a file's name or its verdict to show its plots in the pane. Each plot is the control's stained channel against another tagged detector, compensated, with a verdict under it.
- aligned, in green, means the cloud is level.
- under-compensated or over-compensated, in red, names the pair that still leaks, and whether the matrix corrects too little or too much.
- not enough events, in gray, means the control has too few events on that pair to judge.
Under the plots, two lines say where the matrix came from and name its largest spillover. Click Channel quality and matrix to see the measured matrix again. Until you compute a matrix in the dialog box, the same button reads Measure a matrix. Fix a red pair's value on the Matrix tab, apply again, and the plot's verdict turns green.
If you already have a matrix that isn't applied, Apply current matrix applies it without computing a new one.
What Applying Changes
Compensation is one setting for the whole analysis, so the axis menu lists the same channels whether it is on or off. Your gates keep the bounds you drew, but the events inside them are recounted on the corrected values. Population counts and percentages change when you apply or remove a matrix.
When a file has a spillover matrix that hasn't been applied, a banner above the plots reads Compensation not applied, with View and Apply buttons. Dismiss it if you're leaving that matrix off on purpose.
After you click Apply, the banner reads Compensation applied for a few seconds, with an Undo button that takes the matrix back off. Once compensation is on, a green dot appears beside Compensation in the sidebar.
Changing compensation clears saved cell-cycle, proliferation, kinetics, quality-control, and clustering results. Those results were computed on the old values and no longer match the data. Compensate first, then run them.
Annotating and Exporting the Tree
Annotate in the sidebar's Tools section draws text, arrows, and shapes on the canvas, over your plot tree. Use it to turn a gating strategy into a slide. The marks save with the analysis and come back the next time you open it.
To move a mark, choose Move in the Tools section and click the mark to pick it up. Drag its handles to resize or rotate it.
To export the tree, choose Figure in the ⋮ menu at the right of the bar above the plots.
The figure opens with the export options beside it. Choose what to capture (Whole layout, Selected plot, Contact sheet, or Every plot), then set the size and format. Its Annotate tab draws on the figure you're about to export, for that one file only.
To export one plot, click Export plot in its Plot actions menu. Flow Cytometry Statistics and Export covers every export option.