inferNoiseModel: inferNoiseModel

View source: R/inferNoiseModel.R

inferNoiseModelR Documentation

inferNoiseModel

Description

Fitting noise model in data

Usage

inferNoiseModel(sampleNames, locNames, noisedata, AT, print2pdf = NULL)

Arguments

sampleNames

The samples names used for calibrating the noise model (should also count situations without noise)

locNames

The marker names used in calibration.

noisedata

A table with potential noise data (not typical stutters). Can be obtained from the ObtainStutterData function (noisetable)

AT

A detection threshold value or thresholds per marker. NULL ignores filtering.

print2pdf

Name of pdf file for plots

Details

Fitting two parts of the noise model: 1) Fitting the number of noise-observations (per sample) to a geometric distr (1 param) 2) Fitting the coverage/reads to the pareto distribution


oyvble/MPSproto documentation built on March 19, 2024, 5:32 a.m.