# Descriptive statistics

Descriptive statistics task can be invoked on matrix data node e.g. Gene Counts, Normalized Counts data node in bulk RNA seq analysis pipeline or Single Cell counts Data node etc. It calculates measures of central tendency and variability on observations or features of the matrix data.

### Running Descriptive statistics <a href="#running-descriptive-statistics" id="running-descriptive-statistics"></a>

* Click on a matrix data node
* Choose **Descriptive Statistics** in *Statistics* section of the toolbox

<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-543678b9f9fd55edbbe611d55a55bb19ec118ea3%2Fimage%20(8)%20(1)%20(1).png?alt=media" alt=""><figcaption></figcaption></figure></div>

This will invoke the dialog configuration dialog; use it to specify which calculation(s) will be performed on observations or features.

<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-ef56944c18130e63ea8a6a0faadd8463baaeb8e7%2Fimage%20(9)%20(1)%20(1).png?alt=media" alt="" width="563"><figcaption></figcaption></figure></div>

When select the calculation is for observations (samples or cells), there is a drop-down option to use all the features in the input data node or a list of features. If you use a saved feature list, you can use the check button to select whether match of the saved list to your data is case sensitive or not.

When select the calculation is for features, selecting *Group by* drop-down list allows to compute the statistics in each group separately

<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-bc03f9cb4d62133215a5811ed1c8d02653873c15%2Fimage%20(10)%20(1)%20(1).png?alt=media" alt=""><figcaption></figcaption></figure></div>

Click on the <img src="https://580316046-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWMxqQAMFOJtu98OBk9KN%2Fuploads%2Fgit-blob-0bfbf2a7dde02ad1508e521e2b113606262245de%2Fimage%20(11)%20(1)%20(1).png?alt=media" alt="" data-size="original"> button to add more than one attributes, the result will be on the groups from the interaction terms of selected attributes.

The available statistics are listed on the left panel, suppose "x1, x2, ..., xn"represent an array of numbers

* Coefficient of variation (CV): ![](https://help.partek.illumina.com/~gitbook/image?url=https%3A%2F%2F1384254481-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FJVEESmJAPppJ3ijFq5aR%252Fuploads%252Fgit-blob-c73ff860a1a41df9afd4bda1d95b790cf6069e88%252Fimage2020-9-1_17-16-7%2520%282%29.png%3Falt%3Dmedia\&width=300\&dpr=4\&quality=100\&sign=e0a355e8\&sv=2)s represent the standard deviation
* Geometric mean: ![](https://help.partek.illumina.com/~gitbook/image?url=https%3A%2F%2F1384254481-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FJVEESmJAPppJ3ijFq5aR%252Fuploads%252Fgit-blob-ae9faabc46781bd2d4c982d10812399ca853a8c7%252Fimage2020-9-1_17-19-36.png%3Falt%3Dmedia\&width=300\&dpr=4\&quality=100\&sign=9b3fe5c9\&sv=2)
* Max: ![](https://help.partek.illumina.com/~gitbook/image?url=https%3A%2F%2F1384254481-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FJVEESmJAPppJ3ijFq5aR%252Fuploads%252Fgit-blob-f3dae9347b3bf946241704d89be5e6ddb243df27%252Fimage2020-9-1_17-22-28.png%3Falt%3Dmedia\&width=300\&dpr=4\&quality=100\&sign=59d3ced6\&sv=2)
* Mean: ![](https://help.partek.illumina.com/~gitbook/image?url=https%3A%2F%2F1384254481-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FJVEESmJAPppJ3ijFq5aR%252Fuploads%252Fgit-blob-f93cfbd3401675ae13bfb575b30afffff11908bb%252Fimage2020-9-1_17-23-5.png%3Falt%3Dmedia\&width=300\&dpr=4\&quality=100\&sign=c9241c27\&sv=2)
* Median: when n is odd, median is ![](https://help.partek.illumina.com/~gitbook/image?url=https%3A%2F%2F1384254481-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FJVEESmJAPppJ3ijFq5aR%252Fuploads%252Fgit-blob-79813bf4738b9af9fbf0ef4d18fa6c8ac1eb6f7d%252Fimage2020-9-1_17-29-22.png%3Falt%3Dmedia\&width=300\&dpr=4\&quality=100\&sign=fec3e1df\&sv=2), when n is even, median is ![](https://help.partek.illumina.com/~gitbook/image?url=https%3A%2F%2F1384254481-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FJVEESmJAPppJ3ijFq5aR%252Fuploads%252Fgit-blob-5cf7e380954f35cc4a9a41cc8f74ae2451574e30%252Fimage2020-9-1_17-29-57.png%3Falt%3Dmedia\&width=300\&dpr=4\&quality=100\&sign=9ae39de3\&sv=2)
* Median absolute deviation: ![](https://help.partek.illumina.com/~gitbook/image?url=https%3A%2F%2F1384254481-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FJVEESmJAPppJ3ijFq5aR%252Fuploads%252Fgit-blob-3054b5adc26b51933b946a0ae0491f9b616ecb6a%252Fimage2020-9-1_17-32-24%2520%281%29.png%3Falt%3Dmedia\&width=300\&dpr=4\&quality=100\&sign=139e3a39\&sv=2), where ![](https://help.partek.illumina.com/~gitbook/image?url=https%3A%2F%2F1384254481-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FJVEESmJAPppJ3ijFq5aR%252Fuploads%252Fgit-blob-a64f2d99aa9a954411159df4df01118e858bc67a%252Fimage2020-9-1_17-33-14.png%3Falt%3Dmedia\&width=300\&dpr=4\&quality=100\&sign=3871cbd9\&sv=2)
* Min: ![](https://help.partek.illumina.com/~gitbook/image?url=https%3A%2F%2F1384254481-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FJVEESmJAPppJ3ijFq5aR%252Fuploads%252Fgit-blob-17c2726c04079a501729963c97910dc7310872d6%252Fimage2020-9-1_17-21-51.png%3Falt%3Dmedia\&width=300\&dpr=4\&quality=100\&sign=84575b61\&sv=2)
* Number of cells: Available when *Calculate for* is set to *Features*. Reports the number of cells with the value \[<, <=, =, !=, > >=] (select one from the drop down list) than the cut off value entered in the text box. The cut off will be applied to the values present in the input data node, i.e. if invoked on non-normalised data node, the values are raw counts. For instance, use this option if you want to know the number of cells in which each feature was detected; possible filter: *Number of cells whose value > 0.0*
* Percent of cells: Available when *Calculate for* is set to *Features*. Reports the number of cells with the value \[<, <=, =, !=, > >=] (select one from the drop down list) than the cut off value entered in the text box.
* Number of features: Available when *Calculate for* is set to *Cells*. Reports the number of features with the value \[<, <=, =, !=, > >=] (select one from the drop down list) than the cut off value entered in the text box. The cut off will be applied to the values present in the input data node, i.e. if invoked on non-normalised data node, the values are raw counts. For example, use this option if you want to know the number of detected genes per each cell; filter: *Number of features whose value > 0.0*
* Percent of features: Available when *Calculate for* is set to *Cells*. Reports the fraction of features with the value \[<, <=, =, !=, > >=] (select one from the drop down list) than the cut off value entered in the text box.
* Q1: 25th percentile
* Q3: 75th percentile
* Range: xmax - x min
* Standard deviation: ![](https://help.partek.illumina.com/~gitbook/image?url=https%3A%2F%2F1384254481-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FJVEESmJAPppJ3ijFq5aR%252Fuploads%252Fgit-blob-96c3c6f0db560ee65a5ae9cd412b6addbf3e0cec%252Fimage2020-9-1_17-39-43.png%3Falt%3Dmedia\&width=300\&dpr=4\&quality=100\&sign=bb2be96c\&sv=2) where ![](https://help.partek.illumina.com/~gitbook/image?url=https%3A%2F%2F1384254481-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FJVEESmJAPppJ3ijFq5aR%252Fuploads%252Fgit-blob-1af094d9606027fa8deef53bf20d606fa800e421%252Fimage2020-9-1_17-40-14.png%3Falt%3Dmedia\&width=300\&dpr=4\&quality=100\&sign=ef9ea7a0\&sv=2)
* Sum: ![](https://help.partek.illumina.com/~gitbook/image?url=https%3A%2F%2F1384254481-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FJVEESmJAPppJ3ijFq5aR%252Fuploads%252Fgit-blob-1fe4b256c517ff492c8424ea207a437ad8b4acef%252Fimage2020-9-1_17-41-48.png%3Falt%3Dmedia\&width=300\&dpr=4\&quality=100\&sign=a5191dee\&sv=2)
* Variance: ![](https://help.partek.illumina.com/~gitbook/image?url=https%3A%2F%2F1384254481-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FJVEESmJAPppJ3ijFq5aR%252Fuploads%252Fgit-blob-feefe43d322feba471097bb41412871101760408%252Fimage2020-9-1_17-42-38.png%3Falt%3Dmedia\&width=300\&dpr=4\&quality=100\&sign=f635c753\&sv=2)

**Left click** to select measurement and drag to move to the right panel one at a time, or when you mouse over on a measurement, click on the + button to move to the right panel and click **Finish**.

The output data node can be downloaded or visualized in Data Viewer:

<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-be9d4e5064185c2263169fd1f1bdb93346fd998c%2Fimage%20(12)%20(1)%20(1).png?alt=media" alt="" width="246"><figcaption></figcaption></figure></div>
