shearCorrection {ddPCRclust} | R Documentation |
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)
shearCorrection(counts, lengthControl, stableControl)
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. |
A linear regression model fitting the length vs ln(ratio) (see lm for details on linear regression).