Differential expression analysis can be used to compare cell types. Here, we will compare glioma and oligodendrocyte cells to identify genes differentially regulated in glioma cells from the oligodendroglioma subtype. Glioma cells in oligodendroglioma are thought to originate from oligodendrocytes, thus directly comparing the two cell types will identify genes that distinguish them. 

Filter cells

To analyze only the oligodendroglioma subtype, we can filter the samples.

The filter lets us include or exclude samples based on sample ID and attribute. 


Filtered counts data node will be created with only cells that are from oligodendroglioma samples (Figure 3).


Identify differentially expressed genes

The configuration options (Figure 4) includes sample and cell-level attributes. Here, we want to compare different cell types so we will include Cell type (multi-sample)

Next, we will set up a comparison between glioma and oligodendrocyte cells.

This will set up fold calculations with glioma as the numerator and oligodendrocytes as the denominator. 


A green GSA data node will be generated containing the results of the GSA. 

Because of the large number of cells and large differences between cell types, the p-values and FDR step up values are very low for highly significant genes. We can use the volcano plot to preview the effect of applying different significance thresholds.

Note these changes in the icon settings and volcano plot below (Figure 6).


 

We can now recreate these conditions in the GSA report filter. 

The filter should include 291 genes. 

Exploring differentially expressed genes

To visualize the results, we can generate a hierarchical clustering heatmap. 

Using the hierarchical clustering options we can choose to include only cells from certain samples. We can also choose the order of cells on the heatmap instead of clustering. Here, we will include only glioma cells and order the samples by sample name (Figure 7).  

The heatmap differences may be hard to distinguish at first; the range from red to blue with a white midpoint is set very wide because of a few outlier cells. We can adjust the range to make more subtle differences visible. We can also adjust the color. 

The heatmap now shows clear patterns of red and blue. 

Cells are now labeled with their sample name. Interestingly, samples show characteristic patterns of expression for these genes (Figure 8).


We can use gene set enrichment to further characterize the differences between glioma and oligodendrocyte cells. 


A Gene set enrichment node will be added to the pipeline .

Top GO terms in the enrichment report include "ensheathment of neurons" and "axon ensheathment" (Figure 10), which corresponds well with the role of oligodendrocytes in creating the myelin sheath that supports and protect axons in the central nervous system.