shearCorrection {ddPCRclust} | R Documentation

## Correct for DNA shearing

### Description

Longer DNA templates produce a lower droplet count due to DNA shearing. This function normalizes the ddPCRclust result based on a stable marker of different lengths to negate the effect of differences in the lengths of the actual markers of interest. (Work in progress)

### Usage

    shearCorrection(counts, lengthControl, stableControl)

### Arguments

`counts` | The counts per marker as provided by calculateCPDs.
`lengthControl` | The name of the length Control. If the template name is for example CPT2, the name in the template should be CPT2-125, where 125 represents the number of basepairs.
`stableControl` | The name of the stable Control used as a reference for this experiment.

### Value

A linear regression model fitting the length vs ln(ratio) (see lm for details on linear regression).

[Package ddPCRclust version 1.4.0 Index]