# Generate group cell counts

If a single cell data node contains cell attribute information, e.g., clustering results, classifications, or imported attributes, a counts-type data node containing the number of cells from each attribute group for each sample can be generated and used for downstream analysis.

To invoke Generate group cell counts:

* Click a single cell count data node with cell-level attribute information
* Click **Pre-analysis** tools in the toolbox
* Click **Generate group cell counts**
* Select the attribute to group the cells from the *Group by* drop-down menu and click + button

<div align="left"><figure><img src="https://580316046-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWMxqQAMFOJtu98OBk9KN%2Fuploads%2Fgit-blob-4680c2a770e3efd5400db435d357cd7d78ac12d4%2Fimage%20(100).png?alt=media" alt=""><figcaption></figcaption></figure></div>

* Click **Finish**

A group cell counts node will be generated. The data node contains a matrix of cell counts in each sample for each group. You can view the counts results in the Group cell counts report.

<figure><img src="https://580316046-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWMxqQAMFOJtu98OBk9KN%2Fuploads%2Fgit-blob-6940358373e4e5611797ec4888742ade7f697881%2Fimage%20(101).png?alt=media" alt=""><figcaption></figcaption></figure>

The Group cell counts data node is a counts type data node and downstream analysis tasks, such as normalization, PCA, and ANOVA, can be used to analyze the group cell counts data.
