Partek Flow Documentation

Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »


Please note that Monocle 2 has officially been deprecated and has been left in place for Partek Flow users with historical data. For any new analysis, please use Monocle 3.

What is trajectory analysis?

Cells undergo changes to transition from one state to another as part of development, disease, and throughout life. Because these changes can be gradual, trajectory analysis attempts to describe progress through a biological process as a position along a path. Because biological processes are often complex, trajectory analysis builds branching trajectories where different paths can be chosen at different points along the trajectory. The progress of a cell along a trajectory from the starting point or root, can be quantified as a numeric value, pseudotime. 

In Partek Flow, we use tools from Monocle 2 [1] to build trajectories, identify states and branch points, and calculate pseudotime values. The output of Trajectory analysis includes an interactive scatter plot visualization for viewing the trajectory and setting the root state (starting point of the trajectory) and adds a categorical cell level attribute, State. From the Trajectory analysis task report, you can run a second task, Calculate pseudotime, which adds a numeric cell-level attribute, Pseudotime, calculated using the chosen root state. Using the state and pseudotime attributes, you can perform downstream analysis to identify genes that change over pseudotime and characterize branch points. 

Prerequisites for trajectory analysis

Note that trajectory analysis will only work on data with <600,000,000 observations (number of cells × number of features). If your data set exceeds this limit, the Trajectory analysis task will not appear in the toolbox. Prior to performing trajectory analysis, you should: 

1) Normalize the data

Trajectory analysis requires normalized counts as the input data. We recommend our default "CPM, Add 1, Log 2" normalization for most scRNA-Seq data. For alternative normalization methods, see our Normalize counts documentation.

2) Filter to cells that belong in the same trajectory

Trajectory analysis will build a single branching trajectory for all input cells. Consequently, only cells that share the biological process being studied should be included. For example, a trajectory describing progression through T cell activation should not include monocytes that do not undergo T cell activation. To learn more about filtering, please see our Filter groups documentation.

3) Filter to genes that characterize the trajectory

The trajectory should be built using a set of genes that increase or decrease as a function of progression through the biological processes being modeled. One example is using differentially expressed genes between cells collected at the beginning of the process to cells collected at the end of the process. If you have no prior knowledge about the process being studied, you can try identifying genes that are differentially expressed between clusters of cells or genes that are highly variable within the data set. Generally, you should try to filter to 1,000 to 3,000 informative genes prior to performing trajectory analysis. The list manager functionality in Partek Flow is useful for creating a list of genes to use in the filter. To learn more, please see our documentation on List management

Parameters

Dimensionality of the reduced space

While the trajectory is always visualized in a 2D scatter plot, the underlying structure of the trajectory may be more complex and better represented by more than two dimensions. 

Scaling

You can choose to scale the genes prior to building the trajectory. Scaling removes any differences in variability between genes, while not scaling allows more variable genes to have a greater weight in building the trajectory. 

Task report

The Trajectory analysis task report is a 2D scatter plot (Figure 1).


Figure 1. Trajectory analysis scatter plot colored by State

The trajectory is shown with a black line showing the trajectory. Branch points are indicated by numbers in black circles. By default, cells are colored by state.

You can use the control panel on the left to color, size, and shape by genes and attributes to help identify which state is the root of the trajectory (Figure 2).


Figure 2. Coloring and shaping the points on the scatter plot

You can also split by any categorical attribute (Figure 3)


Figure 3. Trajectory split by state

Calculating pseudotime

To calculate pseudotime, you must choose a root state. The tip of the root state branch will have a value of 0 for pseudotime. Click any cell belonging to that state to select the state. The selected state will be bold while unselected cells are dimmed (Figure 4). 


Figure 4. Selecting a root state

To use the selected state as the root state for pseudotime calculation, select the state and then click the Calculate pseudotime button (Figure 5). 


Figure 5. Calculating pseudotime after selecting a root state

This will run a task on the analysis pipeline, Calculate pseudotime, and output a new Pseudotime result data node (Figure 6).

  

Figure 6. Calculate pseduotime output
The Calcuate pseudotime task report is the same as the Trajectory analysis task report, but is colored by the newly calculated cell-level attribute, Pseudotime, by default (Figure 7). 



Figure 7. Trajectory colored by pseudotime

References

[1] Xiaojie Qiu, Qi Mao, Ying Tang, Li Wang, Raghav Chawla, Hannah Pliner, and Cole Trapnell. Reversed graph embedding resolves complex single-cell developmental trajectories. Nature methods, 2017.



Additional Assistance

If you need additional assistance, please visit our support page to submit a help ticket or find phone numbers for regional support.

Your Rating: Results: 1 Star2 Star3 Star4 Star5 Star 0 rates


  • No labels