Flowjo X
Flowjo X
Flowjo, its tutorials, documentation and website are copyright © Tree Star, Inc. 1997-2013. All rights reserved.
• 8 Color PBMC •
• © MMXII •
i
Introduction
FlowJo is a software application with an integrated environment for viewing and analyzing flow cytometric data.
The environment is presented as the Workspace which contains a list of all of loaded samples (experimental data),
statistics, gates, other analyses, as well as tabular and graphical layouts. The Workspace is saved as a FlowJo document
on your hard disk; when you reopen the document, you will see your analysis as it was when it was last saved.
This tutorial is designed to cover a majority of the features pf the program. Reading through it, you will learn how
to operate FlowJo. Run the program as you perform the steps in the tutorial, so that you can get the best feel for
how the program works. As you watch FlowJo perform various operations such as creating new graphs, statistics,
tables, or graphical layouts, you will see how fast and easy FlowJo is to use.
FlowJo is capable of much more that simply can’t be covered in a tutorial like this (for example, there are analysis
platforms for DNA/Cell Cycle analysis, Kinetics, Proliferation, etc. and tools to export raw gated data for analysis
in other programs, etc.). You can learn more about FlowJo through our online help documents.
Pressing the question mark button in any window in FlowJo will launch a web browser and and access a help
pages relevant to that window. From this website, you can navigate the help pages to learn more about FlowJo. In
addition, FlowJo.com contains a page for FlowJo FAQs, tutorial videos, and the Daily Dongle, a blog discussing all
things FlowJo.
As a note, we are pleased to be able to frequently update FlowJo to provide new features and analysis capabilities.
Therefore, it is possible that the graphics shown in this tutorial may not exactly match the windows that you see
when you run the most recent version of FlowJo. You can download the most recent version of FlowJo from:
http://www.FlowJo.com/home/windows.html
This tutorial is designed to walk you through the data analysis process in FlowJo from adding data to producing
tables of statistics and publication-quality graphics. The data is from 2 8-color immunophenotyping experiments
of human peripheral blood mononuclear cells (PBMC). Keep in mind that the workflow described in this tutorial
will help you in the analyses of any kind of flow cytometric data.
The tutorial is divided into 11 lessons so you may perform it stepwise. The tutorial is written for the user to perform
all operations from start to finish, but we have included completed workspaces so that you can jump to any stage of
the tutorial. If you would like to perform the tutorial starting with a lesson other than 1, just open the workspace
from the preceding lesson and you will have all of the work completed through that lesson.
ii
Table of Contents
About FlowJo..........................................................................................i
Introduction............................................................................................ii
Table of Contents...................................................................................iii
Getting Started.......................................................................................1
The Experimental Data.................................................................3
FlowJo Workflow...........................................................................3
Lesson 1: Workspaces and Basic Data Display.........................5
Opening a New Workspace..........................................................5
Adding Data...................................................................................6
Displaying and Editing Metadata................................................7
Adding a Keyword.........................................................................9
Displaying a Graph........................................................................10
Graph Types...................................................................................10
Three-Dimensional Polychromatic Plots ...................................11
Adjusting the Scale........................................................................12
Lesson 2: Gating and Statistics........................................................14
Creating a Polygon Gate...............................................................14
Editing a Gate.................................................................................15
Creating a Gate on a Histogram..................................................16
Adding Statistics............................................................................17
Other Types of Gates.....................................................................18
Deleting Gates................................................................................19
Lesson 3: Copying Analyses to Other Samples .........................20
Setting up an Analysis...................................................................20
Copying a gate to Another File....................................................20
Copying Multiple Gates................................................................21
Deleting Analyses..........................................................................22
iii
Lesson 4: Groups....................................................................................23
Creating a New Group..................................................................23
Modifying an Existing Group .....................................................24
Deleting a Group...........................................................................24
Creating a Group Using Keywords..............................................24
Adding Analyses to All members of a Group............................25
Modifying Group Gates................................................................26
Lesson 5: Tables and Collating Data Output.............................28
Creating a New Table....................................................................28
Deleting a Column........................................................................29
Ordering the Samples in a Table..................................................29
Renaming the Columns in a Table..............................................29
Adding a Keyword or Formula to a Table..................................30
Batching to Create a Table............................................................31
Table Iteration................................................................................33
Additional Tools............................................................................33
Applying Conditional Formatting...............................................33
Dynamic Updating .......................................................................33
Lesson 6: Creating Simple Graphical Layouts...........................34
Creating a New Layout..................................................................34
Creating a Second Graph of a Population..................................35
Editing a Graphs Appearance......................................................35
Aligning Plots.................................................................................35
Dragging Statistics into the Layout Editor.................................36
Creating Formulas in the Layout Editor.....................................36
Drawing Tools................................................................................36
Overlays..........................................................................................37
Ancestry and Backgating..............................................................38
Multigraph Overlays.....................................................................39
Displaying Adjunct Histograms..................................................40
Exporting a Layout Page...............................................................40
iv
Lesson 6: Continued...
Printing out of the Layout Editor................................................41
Copying and Pasting Graphs from FlowJo.................................42
Lesson 7: Creating Batch Graphical Reports..............................43
Batch Plotting.................................................................................43
Other Batch Outputs.....................................................................44
Lesson 8: Generating Complex Batch Reports..........................46
Varying Iteration Options............................................................46
Batching Overlays with Multiple Samples..................................48
Batching While Maintaining a Control Sample........................49
Lesson 9: Creating Finished Reports.............................................50
Importing a Graphic into FlowJo................................................50
Adding Text....................................................................................50
Adding Plots...................................................................................51
Using the Grid Tool.......................................................................52
Adding a Table from the Table Editor to the Layout Editor....53
Lesson 10: Compensation..................................................................54
Preference settings for loading data............................................54
Data Compensated by the Acquisition Software.......................54
Editing an Existing Matrix...........................................................56
Creating a New Matrix..................................................................57
Lesson 11: Setting Preferences..........................................................60
What are preferences?...................................................................60
v
Getting Started
To get started using FlowJo, you will first need to install the software. The easiest way to do this is to download the
most current installer which you can find on our website at: http://www.FlowJo.com/download/index
Following this link will bring you to a page where you can download our Basic Tutorial and Advanced 8 Color
Tutorial as .zip files with .FCS (flow cytometric standard) files and a PDF of the tutorial. Save these files to disk and
double-click on the compressed file to extract them on a Mac and right click to extract them on a PC.
1
2
The Experimental Data
The demonstration data set is comprised of three folders :
• A folder of compensation controls.
• A folder named Exp. 1 which contains two subfolders named Panel 1 and Panel 2 which each contain 9
samples stained with two different combinations of reagents (see table below).
• A folder named Exp. 2 which contains two subfolders named Panel 1 and Panel 2 which each contain 9
samples stained with two different combinations of reagents, similar to Experiment 1.
There are 2 experiments, 2 panels, 9 tubes for each panel, and 7 compensation control tubes for a total of 43 tubes
(2x2x9+7). The compensation controls are provided for the user who wants to learn more about the compensation
editor (described in Lesson 10). However, all the files were compensated at the time of acquisition using Becton
Dickinson’s Diva™ software. FlowJo reads the acquisition compensation matrix from the files and displays the
compensated data by default. The stain combinations are listed by panel in the table below.
Panel No. APC-Ax 700 APC-H7 APC-Ax 647 Viability Dye Fitc PE Pe-Cy5.5 Pe-Cy7
1 CD3 CD19 2H2 7 AAD CD32 CD86 CD209 CD14
2 CD4 CD8 2H2 7 AAD CD56 CD11c CD3 CD45RO
Table 1: Experimental data panels
FlowJo Workflow
The Table Editor is accessed through either the Table menu or through a
shortcut button at the top of the workspace. But the Table Editor button
is used from the populations and statistics created in the workspace (producing
tabular outputs.)
3
The Layout Editor is accessed through either the Layout menu or through a shortcut button at the top of the
workspace. It is used to create publication quality graphics.
All of these functions are designed based on the idea that each data file is part of an experiment and has context.
For that reason, many of the operations you will perform in FlowJo can be “batched”, that is, applied to a set of
files that the user wishes to analyze, print, or tabulate in a common manner. Batching enables you to perform
an operation once and instruct the software to repeat the action for a specified set of files, sparing the user the
repetitive work. If you find yourself repeating an action frequently it’s likely that a batch operation exists that will
save you significant time.
•••
4
Lesson 1: Workspaces and Basic Data Display
In this lesson you will learn how to start the program, load and organize your data, view graphs and other basic
concepts of the workspace.
The workspace in FlowJo provides an integrated environment for the viewing and analysis of flow cytometric data.
The workspace contains a list of the samples that you have loaded into FlowJo, gates applied, statistics calculated,
and the tables and graphical layouts that you have designed. If you save your workspace, you will save all aspects.
The workspace does not contain the raw data. Instead, the workspace saves pointers to the loaded data, avoiding
the problem of creating multiple copies of data files, which would use two or three times more memory on your
computer. Because FlowJo operates in this manner, if you move the raw data files to another disk, FlowJo will
prompt you to find the data the next time it needs that information. Workspaces store much of the information
about samples, as well as all of the analyses (gates and statistics) that you have previously computed. The best
practice is to save your analyzed workspaces in the same folder, at the same level, as the raw .fcs data files.
Think of the workspace as an experimental notebook. In general, you will create a different workspace for each
experiment that you perform. Workspaces may contain multiple samples collected on various days – and can
provide an efficient way to organize your data analyses.
To begin analyzing data in FlowJo, you will need to create a New Workspace and add data files into it. Later, you
can simply double-click on this Workspace to continue your work.
L1 fig. 1 - Workspace
5
The actions associated with each button are:
The second part of the workspace is a ribbon bar. This bar has action buttons that can be customized, which will be
discussed later. As you move the mouse over each action button, FlowJo displays a description of that action. The
third part of the workspace is a list of the current groups. At the moment the only groups that you will see in your
workspace are the All Samples Group and a Compensation Group. These are the default groups that are always
present; All Samples includes all of the data files in the workspace. Groups will be discussed in depth later in this
tutorial, specifically creating new groups, editing existing groups, and using groups to facilitate batch processing.
The bottom part of the window displays individual data files. The files in a selected group are displayed here. At the
moment there is no data in the workspace, so the area will be blank.
Adding Data
Locate the 8-Color PBMC tutorial folder that you downloaded, and double-click to open the folder. You will see the
Compensation, Exp.1 and Exp. 2 folders. If you open the Exp. 1 folder you will see the Panel 1.1 and Panel 1.2 folders.
If you open either of these you will see the Flow Cytometric Standard (FCS) files. The same file type a cytometer
outputs. To load Experiment 1 into FlowJo, click on the “Exp.1” folder, hold down the mouse button, and then drag
the folder to the bottom portion of the FlowJo Workspace. Release the mouse button.
L1 fig. 5 - Workspace
L1 fig. 2,3,4 - Samples
6
Your workspace will now populate with two additional groups and 18 total data files. It will look like the Workspace in
figure below (fig. 6).
Alternatively, to add data into the workspace you can click on the “Add Samples” shortcut button
at the top of the workspace. This button opens a standard Open File dialog. At that point you must navigate to the
data location and choose “Open”.
FCS files contain a text portion with experimental information, or metadata, such as the type of cytometer on
which the data was collected, date collected, etc. This information takes the form of keywords; a set of code words
or abbreviations that are associated
with specific information. For example,
the keyword $DATE lists the date that
the data in an FCS file was collected.
A discussion on how to create or edit compensation matrices is provided in Lesson 10: Compensation.
8
The workspace now displays the list of samples and reagents.
The keywords are editable, so if a data entry mistake was
made at the time of collection it can easily be corrected in
FlowJo. Try double-clicking on one of the cells annotated
with “CD32”. The box will open and highlight the text
allowing you to overwrite it (fig. 11). Try editing the cell and
then making the correction. The only keyword that cannot
be edited directly here is the Name. You can however, select
a different keyword to be displayed under the Name column
through the preferences.
Adding a Keyword
Click the “Keywords” tab, and you will see the interface change as
shown to the right. (fig. 14)
This tool allows you to replace selected numbers with text to create
alphanumeric patterns. Type ‘A’ in the box marked 1, ‘B’ in the box
marked ‘2’ and ‘C’ in the box marked ‘3’. Then in the bottom portion
of the interface, type ‘3’ in the box labeled “Repeat value _ times before
changing to next value”. The output, based on the values you have input,
is displayed in the bottom portion of the window in the box labeled
“Generated Series”. In this case it is A,A,A,B,B,B,C,C,C. Click “OK”. You L1 Fig. 14 - value series
will see the Type column populate with this pattern.
9
The last option for filling data into a column is through copying and
pasting from a third-party program. If you copy a column of data from
other software, such as Microsoft Excel, insert it into FlowJo by clicking
on the top cell of the column in the workspace in FlowJo that you would
like it to appear, then select “Paste” from the Edit menu.
Displaying a Graph
Graph Types
The graph Type menu allows you to change the graph to a contour plot, density
plot, zebra plot, pseudocolor, dot plot, histogram, or a cumulative distribution
function (CDF). An example of each plot type is displayed below. (fig. 20)
Contour, zebra, and density plots are useful in visual normalization of the number of collected events, as these
plots show the distribution of the data and not individual events. Contour plots show cell distribution with lines of
equivalent density that increase at user-defined intervals. Density plots do likewise with increasingly dark colors.
Zebra plots show cell distribution with a combination of lines and coloring. If rare events are important to display,
there is an option for “Show Outliers” that will plot individual dots for events outside of the distributions for these
types of plots. Pseudocolor plots, like traditional dot plots, display all events but also add brighter colors to show
increasing cell density.
10
Histograms and CDF’s (which display the data cumulatively versus increasing in number) are useful for displaying
univariate data.
Additional features within the Options drop-down menu allow you to smooth the display, change the background
or foreground colors, change from high to low resolution and make other plot-type dependent modifications.
The 3-D viewer platform will appear with a menu allowing you
to display three parameters on a cubic coordinate plane. This
allows for three-dimensional plots that convey information on
five parameters simultaneously. (fig. 21)
L1 Fig. 21 - 3D viewer
Using the drop-down menu in the top left portion of the window
allows you to select the type of 3D plot. The default is to display
each cell as a dot, or point cloud. There are also bubble plots
and terrain plots. Bubble plots show the sampled cells as larger
bubbles instead of dots and terrain plots are 2D Histograms
with number of events extruded as the third dimension. Try
each type, then select “Bubble Plot”. The figure at right shows
the 3D viewer platform with a bubble plot selected. (fig. 22)
11
Adjusting the Scale
This data is already shown on a biexponential scale because it was collected using a biexponential scale which
FlowJo was able to gather from the FCS file. (fig. 26)
There are two sliders in this window that allow the user to modify the aspects of biexponential transform. From
left to right, you can extend the width basis and change the decade range. There are also +/- buttons to control the
positive decade range.
• Extra Negative Decades - On a
biexponential scale, some amount of
negative space is shown. If you would
simply like to show more negative space,
then you can move the slider toward 1,
adding up to one full additional negative
decade to be shown. Move the slider to
see how it changes the data display and
set it to one negative decade.
• Positive Decade Range (+/- buttons) - This setting allows you to control how many decades the data is displayed over.
Click the buttons to see the effect. Click Apply.(for this data file, the default Positive Decades are set to 4.42)
12
FlowJo can also help you determine the optimum width basis automatically using the “Calculate Width Basis” button.
In addition, you can manually type in your width basis allowance. Once you have set your choices you can apply
them to this particular parameter using the “Apply” button in the bottom right-hand corner of the platform. You can
modify additional parameters by clicking the vertical “Parameters” sidebar menu. The transform you have set will
be applied to each parameter selected from the list. Choose the CD8 and CD4 parameters and click “Apply” and the
window will close automatically. You will notice that the scale indicator at the bottom of your axis now reads “-1.00
+4.42/-398.00”. This means that FlowJo has added an extra negative decade, expanded the display area to 4.42 decades
and added a width basis of -398.00. Your plot will look like the figure displayed below on the right. (fig. 27B)
It is important to emphasize that using a biexponential scale does not change the data. It simply changes the
amount of space on the screen allotted to displaying various portions of your data. Statistics calculated on the
data before and after transform will be the same. However, gates made on data before a transformation is applied
may not translate between axes transformations. It is wise to look at your data, adjust the transforms so that data
is visible and then begin gating.
This is the end of the lesson on Workspaces and the display in FlowJo.
To access the Workspace at this point of the analysis, open the Lesson_1.wsp file.
•••
13
Lesson 2 : Gating and Statistics
In this lesson, you will learn how to Gate your data to create subsets and isolate a given population of cells for further
analysis. You will also learn how to calculate a variety of statistics. Subsets in FlowJo are exactly like subsets in biology:
they represent a fraction of the entire collection with specified properties (e.g., “Lymphocytes” are those cells with
low Forward and Side Scatter). You will always be asked to name a subset; the name you choose is important for
organization within FlowJo. Select a name that is meaningful to you, to help keep track of your analyses.
You will note some changes to the graph window. The L2 fig.1 - Lymphocyte gate
“Statistics” tab at the bottom of the window displays
the fraction of events in the gate. “Active Gate” refers to
whichever gate is selected. When you create a new gate it is
automatically selected. You can tell that a gate is the active
gate because the black vertices reappear on it. There is also
a new entry in the workspace window - Lymphocytes as a
subset of all of the events in A1.fcs as shown to the right.
14
Double-click on the “Lymphocytes” subset to open its graph,
which will allow you to gate within that subset. You will see
the graph to the right. This is the contour of the events within
the lymphocyte gate. Note that the Up arrow button is now
active. Clicking on this button opens the “parent” graph, the
plot you used to create this subset. The Up arrow can be used
to navigate to the parent population.
Editing a Gate
L2 fig.4/5 - Graph window
Move the mouse over the Lymphocyte gate in the parent parent and
graph window; the cursor changes to a four-way arrow. You Subpopulation
can click and drag to move the gate. Adjust the gate to rest
on the monocyte population as shown. FlowJo instantly
updates the graph of the subset; that window will now look
like the figure below. The new gate includes few events that
are CD3-positive and a large fraction that are CD14-positive
(i.e. monocytes).
15
Creating a Gate on a Histogram
Adding Statistics
To calculate additional
statistical information about
your subpopulations, you can
add statistics to the subsets.
Click on the “T-cells” row so
that it is highlighted, then click
the Sigma button from the
workspace tab, then click “Add
Statistics”.
There are also choices for All Fluorescent Parameters, All Parameters, and All Compensated Parameters. These
options are available from the Quick Statistic drop-down menus to the right of the Add Statistics button (fig.16).
17
FlowJo offers several other types of gates beyond polygon gates. All can be modified and interacted with as
described for the polygon gates. The gating tool bar at the top of the graph window looks like this:
The Arrow Tool is used for selecting a gate. Once selected the active gate tools apply to that gate and the gate
can be modified.
The Rectangle Gating Tool, and as you would expect, creates rectangular gates.
Quad Gating Tool allows the user to simultaneously create four abutting rectangular gates. This gate type is
useful when you are interested in the double positive
population, both single positive populations and the
negatives for a pair of parameters. Select
your Lymphocyte population, and then display
the parameters CD19 versus CD32, two markers
for B-cells. Next open the X axis transformation
button and select “Customize Axis”. Set the Extra
Neg. Decades to 0.5, then click “Apply”. Try putting
a quad gate on your plot by selecting the
quad gate icon and then clicking once on the
CD19-CD32 plot. The result should look similar to
the figure to the right (fig.17). To move the quad gate,
click at the intersection of the quad gates hold the
mouse button down and drag. The intersection point
will move with your cursor.
The Elliptical Gating Tool creates elliptical gates, which similar to rectangle gates, are ideal for gating
prominent populations that do not require complex shapes to identify, as they require the fewest vertices
to define. The number of nodes corresponds to the amount of calculation FlowJo must do to identify a
subpopulation, so fewer nodes mean faster calculations of the workspace.
The Polygon Gating Tool allows you to place points around a population as described previously.
The Freehand Gating Tool allows you to create a gate by clicking on the plot, holding the left mouse button
down, and moving the cursor anywhere. When you release the mouse button the gate will close producing
an amorphous shape.
The Auto-Gating Tool. When you select this tool and drag your cursor around the graph window, FlowJo
will automatically show you a gate with borders that follow a line of equal density; they will in effect follow
a contour. To accept an auto gate, simply click when you are satisfied with its location. Alternatively, to finish an
au t o - g at e you can click and hold the mouse button, drag the cursor either away or toward the center of
the gate, and the gate will either expand or shrink respectively. The gate center remains fixed. You are no longer
guaranteed equal density, but it allows the user some flexibility.
18
To try out this tool, choose your Lymphocyte population with
the CD19 versus CD32 parameters selected. Use the “Auto
Gate” tool to Gate the double positive population and name it
“B-cells”. You can then switch the plot type to contour to see that
the gate you have created follows the pattern of the contours.
Deleting Gates
19
If you have followed all of the steps, your workspace will look like the figure below (fig.19).
To access the workspace at this point of the analysis, open the Lesson_2.wsp file.
Setting up an Analysis
20
sample B1. However, gates are linked to the parameters so you need to draw a different T-cell gate for sample B1.
As CD3 was labeled with APC-Ax700 on sample A1 and PE-Cy5.5 on sample B1, we cannot directly drag this
gate between samples. For this and other reasons, it is important that you carefully enter the appropriate stain
(antibody) names when you collect the samples.
negatives.
Your workspace will look like the figure below (fig.4). Click on
the disclosure triangle next to B1.fcs. These triangles open
and close the views of the subset hierarchy. In the genealogical
terminology that FlowJo uses, the subpopulations created by
the quad gates are siblings, and are children of the “T-cell”
subpopulation, and grandchildren of the “Lymphocytes”
subpopulation.
Now, we would like to apply exactly the same gates and statistics applied to sample B1 to sample B2. We could
drag each line one-by-one to B2. However, FlowJo provides a special mechanism for copying entire analysis trees.
When you hold down the “Alt” key (PC, or “Command” key on Mac) and begin to drag, FlowJo will take the
subpopulation you clicked and all of its descendants, including statistics. You will see this occurring via the outline
that FlowJo draws, which denotes all of the analyses that you are copying.
Click on the “Live” gate, press the “Alt” key, and drag it to the “B2” row. Even if the children of the first Lymphocyte
21
gate are hidden because you closed the triangle, they will still be copied. Your workspace will now reflect the fact
that you copied fifteen different analyses (gates and statistics) with one operation.
There are more complex ways of selecting which analyses to copy. For instance, you can shift-click several analyses to drag
multiple contiguous (within the workspace) gates simultaneously, or you can control-click to select any subsets and/or
statistics to be dragged. Try selecting just the “Live”, “Singlet”, and “Lymphocyte” gates from sample B1 and dragging it to
Sample B3.
Deleting Analyses
You can delete analyses by selecting them and pressing the “Delete” key. Select the “Live” subpopulation that you
just added to B3, and press “Delete”. When you delete the Lymphocyte gate, all of the subsets of Lymphocytes
will also be deleted. This is because those subsets have no meaning without a live gate present. Remember that
every subset you name is, in reality, a subset defined by all of the ancestor populations: the parent population,
grandparent population, etc.
To access the workspace at this point of the analysis, open the Lesson_3.wsp file.
22
Lesson 4: Groups
In this lesson, you will learn how to take advantage of sample groups. Groups are the principal functional unit
within FlowJo and one of the primary mechanisms by which FlowJo allows the user to perform batch analysis; the
repetitive application of analysis or generation of reports across many samples. You may create as many groups as
you wish; each group may include any of the samples within the workspace. Samples may also belong to more than
one group. Importantly, applying a gate or statistic to a group will be equivalent to doing the same thing to every
sample in that group—the advantage is that you do it all at once.
In Lesson 3, you learned that by dragging multiple analyses or entire sets of analyses, you can accomplish the first
step in batch processing: the ability to replicate multiple analyses. But that still leaves the next step: how can these
analyses be applied to a whole set of samples at once? To accomplish this, FlowJo allows you to create groups of
samples. A group is a list of samples from the workspace that can serve as a sample surrogate. That is, you can
apply analyses to a group much as you can apply them to individual samples. There is one rule about groups and
group analyses that is inviolate: every sample in a group contains every gate, statistic, or other analysis that has
been applied to the group.
This lesson builds on the workspace you finished in Lesson 3. You may also open the pre-made workspace named
Lesson_3.wsp.
The first step is to create a group that contains a set of samples that will receive similar kinds of analyses. In
this tutorial we already have a number of groups that were created by the filing structure when we loaded data
into FlowJo that could be analyzed in the same way. Now you will make a new group that gathers all files with a
particular staining combination, regardless of the file structure.
Begin this lesson by adding “Exp. 2” to the workspace. Locate the folder with the downloaded demo data and drag
“Exp. 2” into the workspace just as you loaded Exp.1 in Lesson 1.
In the workspace, click on the “New Group” button, which can be found in the shortcut bar at the top of the
workspace, as well as the Navigate task in the FlowJo band. FlowJo brings up the Create Group window shown
below (fig.1). Using this window, there are a variety of ways to make new groups. The top portion of the window
controls the format of the group’s appearance in the workspace, and the middle portion allows you to set your
sample inclusion criteria to control which samples will be added to the group. In sample inclusion criteria, there is a
window that lists every combination of reagents present within the samples. They are ordered by collection channel.
Click on the CD56, CD11c, CD3,
CD45RO, 7AAD, 2H2, CD4, CD8
combination, telling FlowJo to
group all samples in the workspace
with this stain combination.
Deleting a Group
To delete a group, simply click on it and press
“Delete” on your keyboard. To try this, click on
the “Panel 1.1” group and delete it. Repeat for the
“Panel 2.2” group.
You will notice that the column “Day” has appeared numbered from
0 to 16. Using this keyword annotation, we can “isolate” the files that
were stained on the first eight days of the experiment. To create a
group to do so, open the “Create Group” menu again. This time you
will use a keyword to define group membership. Below the staining
panel window there are a set of dialogue boxes that allow you to select
a keyword, a qualifier and a value. From the box initially filled with
“*Any Keyword*”.
Choose the keyword “Day” from the drop down-menu. The box
to the right gives you inclusion criteria. Choose “<=” (is less than
or equal to). You can then either type a number into the next
specification box, or click on the “Choose” value box to see what
L4 fig.5 - Keyword grouping
values were entered for that particular keyword within the data.
Type or select “8”. Name the group “Day 0-8” and color it purple. Your
24
group definition window will look like the window pictured to the right (fig.5).
Click “Create Group”, and then the “Close” button to close the window and display the workspace. Notice that you
have isolated all of the files with days numbered eight or less.
Each group is displayed in the upper (group) panel, in the color and style that you have chosen. Your workspace
should look like this (fig.6):
Adding Analyses to All Members of a Group
Some of the files in the groups already have gates and statistics. You will now apply those analyses to the rest of the
files in each group. Remember that a group is a sample surrogate so any analyses that you apply to the group will
be applied to all of the samples in that group.
Click on the “T-cell panel” group, and expand the gating tree under file B1. Click on the “Live” gate in the lower
samples panel. Hold down the “Alt” key
1. on a PC (“Command” on Mac. Then
with the left mouse button depressed,
drag the gate and release the button on
top of the “T-Cell Panel” group in the
2. group section of the workspace.
Your workspace should look like the figure L4 fig.7 - T-cell panel applied
25
above (fig 7). The color and style of the analyses are an important cue. Any analysis that appears in the workspace in
the color and style of the group is guaranteed to be exactly the same as the group’s version. Thus, the gate will be in
the exact same location, applied to the same parameters, etc. This is used to ensure that the exact same analyses have
been done on all samples.
1.
Modifying Group Gates
2. There are two scenarios in which you may wish to modify group gates:
In the first scenario, simply open the sample that you would like to modify by double-clicking on it and then adjust
the gate. FlowJo will remove the font formatting from that particular gate to indicate that it no longer matches
the group gates. To try this, double-click on the “Live” gate for sample B4. The graph window will display FSC-A
versus FSC-W showing the gate added to identify the singlets. Click on the gate and then drag it to better match
the population. If you look back at your workspace, you will see that the “Singlets” population no longer has its
special formatting as shown in the figure to the below (fig 8).
In the second scenario, you have moved a gate and would like to apply that change to the whole group. To do
this, drag the modified gate up to the group and drop it into the proper location in the hierarchy. Imagine that
26
the modified singlets gate on B4 is a better gate
for the entire group. To apply this to the entire
group, click on that specific “Singlets” gate in the
workspace. Then drag and drop it onto the “Live”
population of the T-cell group in the group portion
of the workspace window. A box will prompt you
to replace the previous gate name. Click “Yes”. If
you use the right or left arrow keys in the graph
window, you can scroll from sample to sample and
see that they all reflect the change made.
To complete the analysis of this data set click on the “B-cell panel”, and then the “Lymphocyte” population of
sample A1. Hold down the “Alt” (“Command” key for Mac) key and then drag the entire hierarchy to the “B-cell
group’ in the group panel and release the mouse button. All of the files in that group will now be gated and the
statistics will be applied to all samples. Note that statistics can be applied to groups in the same manner as gates.
Now double-click on the “Lymphocyte” population of sample A1. Move the “B-Cells” gate in the graph window
and notice that the annotation turns black in the workspace. Click on the modified gate “B-Cells” in the workspace
list and press the “Delete” key on your keyboard and click “Yes” in the confirmation dialog box. You will notice
that the B-cell gate is replaced by the B-cell groups’ color and that the gate position in the graph window is reset
to the group default.
FlowJo provides tools to collate the output from multiple analyses so that you can import them into spreadsheets
or to a machine-readable format for statistical or mathematical packages. FlowJo is not a comprehensive data
27
presentation package. For statistical analysis beyond what FlowJo provides, you will need to export your data to
other programs.
Use your existing workspace from Lesson 4, or open the tutorial workspace Lesson_4.wsp.
Open the “Table Editor” by clicking on its icon in the shortcut bar at the top of the workspace or select the “Table
Editor” from the FlowJo band. FlowJo shows you the Table Editor window as shown below (fig.1). You can create as
many tables as you like and generate a table from as many groups as you wish.
At left in the Table Editor window you will observe the list of existing table definitions. When you press the batch
for “display” button, the statistics you have selected as columns will be applied to the current group and a table
will be generated in FlowJo. A table definition is simply a list of statistics, keywords, or formulas that will become
the columns of a table when you batch. They are listed as rows in the table editor because vertical text is difficult
to read. Each row in the template defines one statistic to export such as frequency, mean fluorescence of
FITC, etc. When you create the table, FlowJo cycles through each sample in the current group and requests
the particular statistic defined in the table.
Go back to your workspace and select the “T-Cell Panel” group. We will use keywords to help define the order of the
table. To do so, we will extend the keywords to the entire
T-cell panel group. Go to the workspace tab, click the
“Keywords” drop-down menu and select “Add Keyword”.
Click on the top cell in the “Type” keyword column, then
select “Create Keyword Value Series” from the Keywords
menu. Enter “3” in the “Repeat Value” box. Then click on
the “Keyword” tab and enter the letters “A” through “F” in
the six boxes (fig.2).
The table editor will look like the figure below. L5 fig.2 - Keyword value series
Now we will edit the statistic for Lymphocyte population using the Column information dialog box, as above.
Click on the “Lymphocytes” row (live/singlets/lymphocytes) to edit it similarly, type “#lymphs” into the heading,
and select “Count” from the statistic menu and click “OK”.
Now that we have the two starting populations, we can begin organizing the populations within the table. Select the
Q1, Q2, Q3 and Q4 Frequency
of Parent statistic, and drag and
drop them into ordered place
below one another so that they
are ordered one through four.
29
the first two.
At this point, the table columns should be named so that we can keep track of our statistics. Double-click on the
first empty row of the Name column, and type names into the rows as shown in the figure below (fig.6).
list, then click “OK”. Repeat this process to add the keyword “Type,” the keyword that we added earlier in this lesson.
Next, we will add another column - but this time we will create a Formula by opening the “Add Column” menu and
selecting the “Formula” tab instead of the Keyword tab. Name the formula in the column heading by typing “Ratio -
Lymph/T-cells”. Then click on the “Insert References” drop-down menu and select “#Lymphs” (fig.7/8). Now click on
the divide symbol which will create the ratio after we add the “#T-cells. See the figure on the next page (fig.9, on next page)
for what your table will look like at this point.
30
Within the table editor tab, there are L5 fig.9 - Table editor batching options for iterations and
outputs. In this case, simply press the batch to display icon at the top-right of the table editor.
The group that you will draw the samples from must be specified, as well as the iteration, which is the order and
pattern in which the files will be organized. This is accomplished in the group drop-down menu from the Iteration
ribbon (fig.10). The default selection is the group that is currently highlighted in the workspace window, which
is the group from which you selected the statistics and populations. If you wish to apply the selected statistics to
another group, click on the drop-down menu next to the word “Group”, and select the desired group. For this
experiment, accept the default condition of T-cell panel.
Table Iteration
Iterate by Sample means that you will include every sample
in the selected group. Create a table by choosing the “T-Cell
Panel” as the group, and Iterate by “sample”. You will generate
the table below (fig.11). L5 fig.10 - Table editor groups
FlowJo cycled through every sample in the chosen group, calculated
the 11 requested statistics, created one formula and included two keywords. If a sample did not have the subset or keyword
requested there would be a blank entry in the table.
31
Iterate by Panel means that the files are organized into a panel, or set, that have some relation to each other. In this case
you may only want to include a specific member of each set, and iterating by panel will allow you to do this. Once you
set “Interate by” to “Panel,” you must fill in a value for the Number of Tubes box. This number tells FlowJo to include one
tube out of the entered number of tubes in your table. For example, if you change the “1” to “2”, FlowJo will include one
Create a table that includes one file from each “Type” by selecting Iterate by Panel and entering the value “3” into the
Number of Tubes / Panel data entry box (fig.12). This will create a table using only samples B1, B4, B7, D1, D4, and D7.
Iterate by Keyword means that FlowJo will use sample keywords to determine the order and inclusion of files which
generate the statistics in the table. The order of the samples in the table will be based on the iteration keyword.
Which files are used in the creating the table is based on the discriminator keyword. Any sample with a keyword
entry matching the keyword entry of the discriminator keyword of the first sample in the chosen group is included.
In the Iteration task, choose “Iterate by keyword” and press the key icon which will open a window allowing you to
choose what keywords you would like to “Iterate By” and
which keyword will serve as the “Discriminator.” Choose
iterate by “Day” and discriminate by “Type”, then press
“OK” (fig.13). The resulting table will include only the first
three samples, because they are the only samples that
contain the letter “A” for the keyword “Type”.
Additional Tools
Returning to the table editor window, there are several options that have not
yet been discussed. (fig.15)
The ( and ) buttons allow you can create new table templates, duplicate
existing table templates, or delete existing table templates respectively. The
L5 fig.13- Keywords
Click on the heart icon in the upper right hand corner of the table editor window. This will open FlowJo preferences.
Under “Tools”, click to open “Ranges”.
Within Ranges you are able to set any
conditional formatting you would like to
reference in your analysis. You are
able to enter the target population
with a minimum and maximum allowance
(fig.17). Once all entries are complete, click
“OK” to close preferences. Back in the table
Dynamic Updating
This lesson continues with the workspace document you finished in Lesson 5; alternatively, you can open the
tutorial workspace named “Lesson_5.wsp”.
To open the Layout Editor, either press “Ctrl-L” (“Command-L” on a Mac), or click on the “Layout Editor” Icon.
In the Layout Editor window, the upper left portion of the window has a list of all of the layouts you have created i n
this workspace. You can have as many
layouts as you wish. This portion of the
layout editor works just as in the table
editor does. You can name the layout
by clicking in the name field “Untitled”
near the top of the window and typing
a new name. Give this layout the name
“B-Cell plots”.
One of the important aspects of the layout editor is that it is live. This means that any time you change or move a gate
or modify an analysis in the graph window, FlowJo will automatically update the layout editor if needed. Thus, you
can use the layout editor to provide instantaneous feedback for gating operations, where you can simultaneously view
many different subsets (even multiple views of the same subset) while moving a gate used to define that subset.
Click on the “Annotate” tab at the top of the window. This shows
a different set of options that control what appears in the graphic,
such as gates, frequencies, legends, adjunct Histograms, multigraph
overlays, backgating, etc. Deselect the Annotation checkbox (fig.3).
This will remove the annotation text below the graphic. Click “OK”,
and the layout editor will look like the figure below (fig.4).
Aligning Plots
35
To display a statistic that you have added to the workspace, you can drag and drop it just like dragging of gated
populations. To try this, click on the “Median: CD3” of the Lymphocyte population from sample A1 and drop it below
your first plot. If you would like to format or edit the text, double-click on the statistic once to activate the edit, then
again on either the name or number and the edit box will appear, as shown to the below (fig.6). The information within
the angle brackets < > is the calculation of the statistic. You can change anything else without affecting the statistic.
36
As you can see, “T-Cell Count” is outside of the angle brackets. This
portion of the annotation is simple text that you can edit to say whatever
you like. The statistic portion of the annotation is calculated only within
the brackets. Information within the brackets provides FlowJo with: (1)
which file the statistic is from, (2) the gating path and (3) the particular
statistic to be calculated.
Always use double curly brackets {{ statistic }} to encapsulate the statistic you wish to apply. To add a title for the statistic,
type “B-cells+T-cells =” before first curly bracket. When creating the formula, type a title outside of the angle brackets
(and curly brackets if present). The title on the formula should now read Click “OK” to accept the modifications.
Drawing Tools
FlowJo’s layout editor provides a few simple drawing tools to embellish your graphical reports. These tools can be
selected by clicking on one of the icons on the top-left portion of the window.
The Arrow Tool is used to select existing objects. Click on an object to select it (as shown by dark handles at
the corners of the object). Use the “Shift” key to select additional items. Drag items to move them. “Alt”-drag
(or “Command”on Mac) to duplicate them. Start a drag in the background of the layout editor, and it will
draw out a rectangle. Upon finishing the drag, the layout editor will select all objects that are enclosed by that
rectangle. (Marquee selection.)
The Rectangle tool is used for drawing simple boxes and frames. If you create the rectangle surrounding
another element, and want it to serve as a background, go to the Arrange section of the ribbon, and select use
the Arrange > “Send To Back” menu command to change the order of the layout elements you have selected.
The Line Tool is used for drawing lines and arrows. Generally, you will want lines drawn on top of other
elements, so draw them last or use the Arrange > “Bring To Front” command to change the order of the
layout. Right-click on the line and select “Arrow Style” to add arrowheads to the line.
The Grid Tool will create a matrix of cells within your layout. Each cell may contain text, charts, images, or
other grids. The grid provides a convenient mechanism to group and align multiple elements of the layout.
Grids are explained in greater detail on the Grid Tool page.
The Text Tool is used for adding textual annotation to the layout. To create a text box, you select the text tool
from the toolbar, and click once or drag out a rectangle in the layout view. When you create a new text box, a
dialog will appear to help you edit the text. This is called the FJML (FlowJo Markup Language) Editor. FlowJo
uses a custom markup language, similar to the HTML used in web pages, to richly express the structure
of your flow analysis. Once you confirm changes via the mouse or the Enter key, or click the mouse on a
different object in the layout, the editing stops, and the layout editor text is reformatted and frozen. To edit it
again, double-click on the text box to return it to the edit state. Text clippings or statistics from the workspace
can be dragged and dropped into a layout. In both of those cases, a text box is created automatically.
37
The Ellipse tool is used for drawing simple circles and ellipses. If you create the ellipse surrounding another
element, and want it to serve as a background, use the Arrange> “Send To Back” menu command to change
the order of the layout.
The rounded Rectangle tool is used for drawing simple boxes and frames. You can drag the dot to change
the overall shape. If you create the rounded rectangle surrounding another element, and want it to serve as a
background, use the “Send To Back” button under the Arrange menu to change the order of the layout.
The Diamond tool is used for drawing quadrilaterals that point to the center of each bounding edge. If you
create a diamond surrounding another element, and want it to serve as a background, use the “Send To Back”
button under the Arrange menu to change the order of the layout.
The Triangle tool is used for drawing 3-sided shapes in your layout report. If you create a triangle surrounding
another element, and want it to serve as a background, use the “Send To Back” button under the Arrange
menu to change the order of the layout.
The Statistics Table Tool allows you to build a table of statistics within the Layout editor. Click the statistics
button, then drag a rectangle in the area where you want to place the statistical table. A statistics table dialog
box will appear allowing you to enter data.
The Web Box Tool creates a box with an embedded html viewer so you can display parts or all of a web page within your layout.
To add text to your plot, click on the Text button and draw a rectangle that will contain the text. Type the
word “Sample”, then right-click and select “Insert Keyword”. Choose the sample “A1”, then choose the keyword
“Tube Name”. Click “OK”. Now with your text selected and highlighted, go to the Object tab at top of the layout
editor. Change the font size to 18 using the font drop-down menu in order to make it easier to read. You will notice
that the text “Sample A1” has appeared on the plot where you placed the text box. FlowJo has filled in the value for
the selected keyword and placed it in line with the rest of the typed text. Using keywords instead of typing all of the
text will be important in Chapter 7 when you create batched plots for all samples in a group.
Overlays
You can change the stacking order of the colored layers by clicking on any item, and dragging it up or down in the
legend list. Finally, you can delete an item from the overlay by right-clicking and selecting “Remove Layer” from
the pop up menu that appears. You can overlay an almost unlimited number of different subsets on the same graph.
Note: you can choose to show the Legend box for any graphic, even if it is not an overlay, by double-clicking on a
graph to open the Graph Definition Window and access Annotation options. There, you can also set color and line
styles for single graphs just as you can for overlay graphs.
Once you create an overlay graphic, you can easily change its appearance (axes and plot style) – just like any
other graphic. For example, double-click on the “Overlay Plot”, choose the “Specify” tab, and change the Y-axis to
Histogram. Click “Apply”, then “OK”.
If you right-click on any sample in the legend, you can select the line weights (Hairline, Normal, Heavy, or Very Heavy)
the line styles (None, Solid, Dotted, Dashed, Long-Dashed, Complex, or Dot-dashed) or if the Histogram coloring
(None, Filled or Tinted). You can also remove one of the overlaid populations, or use this interface to edit what is
displayed in the legend. Fill in the B-Cell layer. Now hold down the “Alt” key (“Command” on Mac), then Right click on
the “T-Cell” layer and select “tinted 80%”. Notice that all layers follow the format command if the “Alt” key is depressed.
Create another new layout using the button, and call it “Backgating Plots”. This time, drag in the “T-Cell” population
from sample A1. Right-click the plot and you will see the menu displayed
to the below left (fig.11).
Most of the graph options can be selected from this interface. Click
“Ancestry”. You will notice that your graph now includes two smaller plots
Multigraph Overlays
If you right-click on the plot again, you can hide the multigraph
40
on the plot again and this time select “Adjunct Histograms” from the pop-up menu. This selection will add a
Histogram of each of the component parameters in a two-dimensional plot to the axes. If you have an overlay (as
we do in the case), FlowJo will display the histogram of each population overlaid in the histograms as well. The
resulting graphic is shown to the right (fig.17).
The tools at the far right-side of the toolbar, shown below (fig.18), allow you to export a layout page to some other
format. They apply to the layout page that is open.
The result of a batch report can be viewed in several different ways. Clicking the “Batch” button can create:
• With web animation, an HTML file will be created that contains an embedded Quicktime movie with options.
• With animation, each of your batches will become a continuous frame in a movie format.
• A preview window containing static tiles-PDF (data will not update if you change the original analysis).
In every case, FlowJo will produce a series of frames, each one containing graphs and statistics from one
or more tubes.
The printer icon in the File tab opens a menu allowing you to choose a printer to print a hardcopy of the current
layout. You will notice that FlowJo draws gray dotted lines on the Layout Editor pages: these correspond to page
breaks in a printed document. (Select a small magnification, like 12.5%, to see many pages at once). Note that as
you change the viewing magnification, the relative scaling of the graphs to the page boundaries do not change –
you are not changing the print magnification! You can change
the relative scaling of all graphs by clicking and holding on an
intersection point of the gray lines, then either dragging away
from the origin point to stretch all of the pages, or dragging
toward the origin point to shrink all of the pages. By using this
method to scale plots, all plots will always remain the same
L6 fig.19 - File panel options size. Additionally, the orientation of the pages can be toggled
between landscape and portrait, by grabbing an intersection point and dragging upward diagonally.
There are also shortcuts that allow you to specify that FlowJo automatically scale all plots to fit on one page to be a
41
certain width, height, or one full page. This is done by selecting “Scale to Page Width”, “Scale to Page Height”, or “Scale
To Page” from the File menu at the top of the layout editor (fig.19).
If you select “Avoid Page Breaks” from the same menu, FlowJo uses your paper type/shape but places tiles on the
page such that tiles will not cross page boundaries.
Once you have arranged the tiles exactly the way you like, you can print them – you will know exactly how they
will appear on the pages.
In addition to exporting, you can take an individual graph, or set of graphs out of FlowJo and into a presentation
42
or publishing software like Powerpoint or Word. Do this by selecting the desired graphics, choosing “Copy” from
the Edit menu and then pasting the figure into the destination document.
To access the workspace at this point of the analysis, open the Lesson_6.wsp file.
This lesson builds on the workspace you finished from Lesson 6; alternatively, you can open the workspace named
“Lesson_6.wsp”.
One of the strengths of computers is how they handle repetitive tasks. Show the computer how you want something
done once, it can repeat the task a million times without complaint. Flow cytometry often requires application of
the same analysis to any number of samples, and FlowJo’s ability to batch through a set of samples to produce a
graphical report is the heart of FlowJo’s Layout Editor. At the same time, computers are very literal and so it is a
1. Build a Prototype tile
2. Know the type of batch you are looking to perform
3. Double check key “successful batch” iteration controllers
4. Batch the prototype
good idea to know exactly what information FlowJo needs available in order to batch successfully.
In every batch FlowJo will produce a series of tiles, each one containing graphs and statistics and/or other elements
from one or more tubes.
43
Batch Plotting
In the image below (fig 3) you will see that if we return to the original layout and press the “Batch” button again, the
batch layouts can be generated in six different modes, each accompanied with an icon.
The first item listed is “New Layout.” We used this previously to create a new layout in the layout editor, with all
of the iterated samples shown. This is the most flexible way to generate a report, as you can edit the layout further
44
by adding titles or annotations to specific graphs, or by removing
unnecessary graphs. Unlike other batch exports, batching to a new
layout has the advantage that the resultant layout will update “live”
and reflect changes made in the workspace.
The PowerPoint option produces a pptx file with one slide for every
tile created by the batch option. In the B-cell group we have nine
files, so batching to PowerPoint button will create a PowerPoint file
with 18 slides, each with the two graphs, one statistic and one text
L7fig.3(detail) - Batch options box.
The Printer option allows you to print all of the batched plots.
FlowJo aligns the tiles, ensuring that they are the same size. If you
click on the “Printer” option and
then click “Create Batch Report”,
you will see the dialogue box below
appear (fig 4).
you should choose the Scale to Page function in the File tab of the layout editor before selecting this batch option.
One last important piece of information; the Layout Editor view is live in that whenever you change a gate or
analysis, the view is automatically updated to reflect the change. However, Web Reports, any PDF you may generate,
and Movies are NOT live. If you create one of these reports and then change a gate, the report is NOT UPDATED,
because the destination is outside of FlowJo. In order for these media types to reflect changes, you will need to
regenerate the batch output.
45
Try batching to each type of output.
The iteration band contains the iteration controls. This is the same set of options as provided when batching from
the Table Editor. Lesson 8 will discuss in detail how these options apply to layouts.
To access the workspace at this point of the analysis, open the Lesson_7.wsp file.
This lesson builds on the workspace you have finished from Chapter 7; alternatively, you can open the workspace
named “Lesson_7.wsp”.
This tutorial data has a keyword field, “Day”, which lists the experimental time point in days that the blood samples
were drawn. For example, samples A1 and B1 were both collected on Day 0. There is also a keyword field “Panel” that
46
lists which panel of antibodies was
used to stain the PBMC samples.
Right-click on any column header
and select “Edit Columns” on the
right-click menu. This will open
the Edit Column Names dialog
box. Select “Panel” from the dialog
menu, then press the “Add Column”
button, then “OK”.
47
a discriminator. Choose “Panel” in the discriminator then “Okay” to close the dialog box. By selecting “Panel” as
a discriminator you’ve set up the batch to only include files that have the same value for Panel as the sample you
have used to make the original layout. Now from the Value drop-down tab menu, select “0” as the Day starting
point. When you have made these selections, “Batch” will become enabled and the selection boxes will look like
the illustration to the right (Fig.4).
48
Double-click on “T-cell” plot in the layout editor and create a dot plot displaying 2H2, a marker for Dengue fever
and CD209, a dendritic cell marker. Then drag the same population from samples A2 and A3 on to that plot,
creating the overlay image below. You will notice that FlowJo automatically changes the format of the graph to
match the existing population. Drag the
legend onto the plot to save space.
49
listed in italics as well. For emphasis you can use the format box of in the legend to tint the sample that will remain
constant. Your figure will look like the image to the right at this point. Click “Create Batch Report” and set a three-
column layout. The result will be a series of 18 plots; each sample plotted with sample A1, as shown.
In the next Chapter, you will learn some additional Layout Editor techniques, including creating Grids and placing
background graphics underneath the reports.
To access the workspace at this point of the analysis, open the Lesson_8.wsp file.
Importing a Graphic
T
Open the layout editor, and create a New
Layout named “Final Report.” From the Edit
Menu, select “Insert Graphic” and choose
an image file of the logo of the institution
where you work. We will include a FlowJo
icon in the top left corner. Alternatively,
you could select a larger image; stretch it
to cover the entire layout editor and drop
plots and text boxes onto it, thus making the
image a background.
Adding Text
50
“Insert Keyword”. Here you will select several keywords that contain sample-specific information. To insert a
keyword value, click on sample A1.fcs then select “$DATE” (date of sample collection) from the Add Keyword
dialog box. Depress the “Ctrl” button on the keyboard (“Command” on Mac) and select “$CYT” (cytometer used
for collection) as well. Click “OK”. In your own datasets, you may have other keywords pertinent to your research
which you can add using these rich text elements.
Adding Plots
51
chapters. First, drag the “T-cell” subpopulation from sample A1 and drop it below the graphic inserted previously.
Double-click on the plot to open the graph definition window and change its attributes to a density plot of CD209
versus 2H2, with outliers displayed. Your graph will look like the plot to the right. Click “Apply”. To display the
gating strategy, click on the “Annotate” tab in the Graph Definition window and click the “Ancestry” check-box.
Click “OK”. You will see two smaller plots appear to the right of the original showing the gates used to get to the
target subpopulation.
52
plot and colored red. This is a tool to assess the effect of a gating strategy, as gates may restrict what you analyze in
a subpopulation.
Now we will add a grid to your layout. Choose the grid tool from the toolbar above your layout in the Layout Editor.
Click, drag, and release within the layout editor to draw a grid. Right-click, choose cell dimensions to set the number
of rows and columns to 3 rows and 3 columns. You can now drag populations directly into the grid box and they will
snap to the size of the box. You can also drag text boxes or statistics in to create tables or annotation.
Create a text box, and type in it a sentence or two stating that the grid will hold the B-cell population for
samples A1 – A9. Then, drag and drop that text box into the upper left grid box. Next, drag and drop the B-cell
population from each of those files into the grid. A quick way to do this is to select the “B-cell” population in the
workspace for sample A1 from the “B-Cell Panel”
group, then open the “Edit” menu and click on
“Select Equivalent Nodes”. You will notice that this
will highlight all of the B-cell populations. Click
on a “B-Cell” population
and drag-and-drop it into
the upper right grid box.
The selected populations
will fill out the rest of the
grid boxes.
53
Finally, we will add a table of statistics. We can reopen the Table Editor by clicking on the table editor shortcut
button from the workspace. Then choose the “B-Cell Table” and select the batch to current layout icon. The table
will appear in the currently open layout page, which is the Final Report page. You can scale the table by grabbing
a corner and dragging it larger or smaller. Your layout should now look like the following figure.
*You may need to adjust the paper size in the print dialogue box to allow for your table to fit your layout.
From here you can print a report, publish to the web, or generate a movie or pdf. These options are explained at
the end of lesson 6.
To access the workspace at this point of the analysis, open the Lesson_9.wsp file.
This tutorial also does not serve as a comprehensive guide to what compensation is and why we do it. There are
many good references that deal exclusively with the subject. A tutorial that we recommend is:
M. Roederer. Compensation: An informal perspective. May 2000. Web 18 April 2013. www.drmr.com/compensation
For the purpose of this tutorial it will suffice to explain that when more than one fluorescent probe is used in a
cytometric experiment, the emitted fluorescence spectral outputs overlap, adding a “noise” component to the
measured intensity of all parameters. The contribution of the noise component can be determined by collecting
tubes containing cells stained with a single fluorescent color. These single stain controls allow us to measure the
intensity produced across all colors that is due to the single color used in that control tube. All cells produce some
amount of autofluorescence so we do not assume that median fluorescent intensity (MFI) for a single stain control
in channels other than its collection channel should be zero. Rather, we assume that the MFI of these parameters
should be equal to that of the background.
Compensation is the process of correcting the spectral overlap that occurs during multicolor flow cytometry. This
is done by quantifying each dye with which a particular cell is labeled, and subtracting the amount of intensity that
adjusts MFI of single stained cells for all parameters they were not stained with to the background MFI.
54
data are not stored in the FCS file. (Most software compensation algorithms will produce very similar results,
making algorithmic L10 fig.2 - Compensation matrix added compensation more robust than
manual.) Therefore, you will not be able to edit the matrix or examine uncompensated parameters, though
the data can be analyzed. In this tutorial, we will thus focus on the first two cases.
Load in the folder Exp. 1, Panel_1.1. The grid displayed next to each of these samples indicates that there is a
compensation matrix associated with these samples. There are two ways to see which matrix is associated with
which sample. First, go to the workspace and right-click on a column header. Click “Edit Columns” and select the
55
keyword “Compensation Matrix”, then “Add Column”. Click “OK”. (fig 1)
The workspace will look like the figure below, showing that all files were compensated with the Acquisition-defined matrix.
Alternatively, you can double-click the grid to open the Matrix Editor. Click on the matrix next to sample A1.
56
from the column parameter. So in the figure above, for example, 0.7384% of the PE-A intensity is being subtracted
from the FITC-Alexa intensity. The bottom panel shows Histograms of compensated data for the selected population
in the selected sample, and allows one to compare this to uncompensated data. The left panel shows the matrices
that are available in the current workspace and allows you to edit their color formatting and name.
FlowJo will not allow you to modify your raw data files, nor the compensation matrix. However, if you would like
to modify your compensation matrix in this FlowJo workspace, click “Edit” at the top of the matrix, a confirmation
window will pop up, click ok and then you can click in any cell of the matrix to edit it, type in the new number, and
then press the “Enter” key. By default, editing a matrix creates a new matrix, visible in the matrix navigator (fig 4).
Rename the edited matrix from “Acquisition-defined-copy” to “Matrix2” by clicking on the text in the left panel
and choose purple for its color formatting (fig 5).
By default, you will see that this matrix has been applied to the Panel_1.1 group. To change the compensation matrix
that is applied to a sample or a group, simply drag-and drop the [M] icon onto either a sample in the bottom part
of the workspace or a group
in the group analysis pane,
respectively. Finally, right-
clicking on the matrix badge
in the workspace allows you
to edit the matrix, to re-apply
the acquisition matrix, or re-
apply the acquisition matrix
to the group.
A word of warning - we
discourage random matrix
editing. The algorithmically
calculated values are the
correct values for the
compensation controls that
were presented. However, it
is possible that inappropriate
controls were used and
correction is needed. The
best way to accomplish
this is to find a population
“positive” for a single
parameter and gate on this
positive population. Then
modify the compensation
matrix and check that there
is a nearly equal MFI of
background
L10 fig.6/7 - Group definition for matrix editor
and MFI of the parameters for which
57
you expect the population to be negative.
58
Close this window, and we will
create a new matrix using the
Compensation Editor.
59
adjustments must be made so that the matrix calculation can be finalized:
Since no compensation control was acquired for 7AAD, click on the sample drop-down menu next to 7AAD and
select “Remove This Parameter”. For APC_Ax 647-A (2H2), select the proper single stain control using the sample
drop-down menu to “CompCtrls AF647.fcs”. (fig 9/10)
60
aimed at highlighting some of the more commonly used preference settings in FlowJo to help you start customizing
the software to your needs and to emphasize that most aspects of FlowJo are customizable.
again, consider that you might be able to set the program to do what you like by default. The preferences are
accessed through the Edit menu. When you click on the
preferences icon, the interface shown to the right will be
displayed. (fig 1)
FlowJo.
61
interface is shown below.
FlowJo does not allow you to directly double-click and rename a file in the workspace, but from this interface you
can control what appears by selecting the keyword or combination of keywords that contains the information for
identification of each file. If there are no existing keywords that display the information you need, you can create
your own keyword and then choose it from this menu.
The Graphs menu (fig 3) allows you to control the default appearance of graphs. The type of graph and its options
can be set using the interface below.
The Layouts menu (fig 6) allows you to control what happens in many aspects of the Layout Editor. One of the most
important preference in this menu is the “Drag Mismatch Policy” drop-down menu settings.
Drag mismatch tells FlowJo what to do when you drag plots from two different samples into the layout editor. “Turn
Off Iteration ” will allow you to place any plot into the layout. Batching will then become disabled, as FlowJo will not
know what sample to iterate. Therefore if you want to batch, you will have to specify a keyword by which to iterate
and discriminate (see Lesson 8 for details).
“Coerce to Current Iteration” forces all of the plots to come from one sample, so FlowJo will change what you drag
in. “Reset Iteration Value” will change the iteration value to match the selected samples, if this is possible. “Ask” will
cause FlowJo to bring up a pop up window asking you to specify what you would like done every time you drag
different samples into one layout.
The Annotation menu allows you to specify which keywords are automatically displayed when a sample is dragged
into the layout editor. It also allows you to define the color order for overlays and define what special features
appear on plots by default. The main portion of this menu is shown below left (fig 7).
The File Formats menu (fig 8) allows you to specify what the default file output will be for exporting from the graph
62