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; directly comparing the two cell types will identify genes that distinguish them. 

Filter samples

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 (Figure 2). 

 

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

 

Filter groups

Because we are only interested in analyzing glioma and oligodendrocyte cells, we will filter out microglia cells using the groups filer. 

This filter lets us include or exclude cells based on classifications or other cell-level attributes. 

Filtered counts data node will be created with only glioma and oligodendrocyte cells from the oligodendroglioma samples. The Filter groups task must complete before we can proceed to identifying differentially expressed genes. 

Identify differentially expressed genes

The configuration options (Figure 6) include cell-level attributes. Here, we want to compare different cell types so we will include Classification. 

 

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

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

 

A green Feature list node will be generated containing the results of the ANOVA. 

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.

This gives 132 up-regulated and 159 down-regulated genes (Figure 8).

 

 

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

The filter should include 291 genes. 

Exploring differentially expressed genes

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

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 heat map instead of clustering. Here, we will include only glioma cells and order the samples by sample name (Figure 9).  

The heat map will appear black at first; the range from red to green with a black midpoint is set very wide because of a few outlier cells. We can adjust the range to make more subtle differences visible. 

The heat map now shows clear patterns of red and green. 

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

 

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

 

GO enrichment node will be added to the pipeline view (Figure 12).

 

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