# Normalize to baseline

If your experimental design includes a sample or a group of samples serving as a baseline control, you can normalize the experimental samples by subtracting or dividing by the baseline sample(s) using the Normalize to baseline task in Partek Flow. For example, in PCR experiments, the delta Ct values of control samples are subtracted from the delta Ct values of experimental samples to obtain delta-delta Ct values for the experimental samples.

The Normalize to baseline option is available in the *Normalization and Scaling* section of the context-sensitive menu (Figure 1) upon selection of any count matrix data node.

<div align="left"><img src="https://1384254481-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJVEESmJAPppJ3ijFq5aR%2Fuploads%2Fgit-blob-47b29bba9d87a05bccea05b771005111781fea0e%2Fimage2023-9-12_16-4-39.png?alt=media" alt="Figure 1. When a data node containing a count matrix is selected, Normalize to baseline is available in the toolbox"></div>

There are three options to choose the baseline samples:

* use all samples
* use a group
* use matched pairs

## Use all samples to create baseline

To normalize data to all the samples, choose to calculate the baseline using the **mean** or **median** of all samples for each feature, and choose to **subtract** **baseline** or **ratio to baseline** for the normalization method (Figure 2), and click **Finish**.

<div align="left"><img src="https://1384254481-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJVEESmJAPppJ3ijFq5aR%2Fuploads%2Fgit-blob-817dad2627c420b2a3654874c69df7b9a7438cb6%2Fimage2023-9-12_16-7-33.png?alt=media" alt="Figure 2. Use the mean or median of all samples as the baseline to normalize the data"></div>

Use a group to create baseline

When there is a subset of samples that serve as the baseline in the experiment, select **use group** for Choose baseline samples. The specific group should be specified using sample attributes (Figure 3).

<div align="left"><img src="https://1384254481-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJVEESmJAPppJ3ijFq5aR%2Fuploads%2Fgit-blob-e7a53e594688091bbaed3f7de6b77438e863d9dd%2Fnorm_to_group.png?alt=media" alt="Figure 3. Use a subgroup of samples to create baseline to normalize the data"></div>

Choose **use group**, select the attribute containing the baseline group information, e.g. **Treatment** in this example, with the samples with the group **Control** for the **Treatment** attribute used as the baseline. The control samples can be filtered out after normalization by selecting the **Remove baseline samples after normalization** check box.

## Use matched pairs

When using matched pairs, one sample from each pair serves as the control. An attribute specifying the pairs must be selected in addition to an attribute designating which sample in each pair is the baseline sample (Figure 4).

<div align="left"><img src="https://1384254481-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJVEESmJAPppJ3ijFq5aR%2Fuploads%2Fgit-blob-fbaad3d963d65c9ddf4d8e18b6bf8236ac2e1ecb%2Fnorm_to_pair.png?alt=media" alt="Figure 4. Designated pairs and the baseline sample in each pair to normalize by matched pairs"></div>

After normalization, all values for the control sample will be either 0 or 1 depending on the normalization method chosen, so we recommend removing baseline samples when using matched pairs.

The output of Normalize to baseline is a Normalized counts data node.

## Additional Assistance

If you need additional assistance, please visit [our support page](http://www.partek.com/support) to submit a help ticket or find phone numbers for regional support.
