train_simple_ddpcr_model: Train simple CASTLE model

Description Usage Arguments Value See Also

View source: R/castle_simple.R

Description

Estimates the parameters of the statistical model for the simple version the CASTLE algorithm based on a set of training samples, assumed to have no mutant DNA present.

Usage

1
train_simple_ddpcr_model(background_samples)

Arguments

background_samples

data.frame with cancer negative training samples as rows. These are the samples used to train/estimate the parameters of the model. At least the following columns should be present:

  • WildtypeOnlyDroplets

  • MutantOnlyDroplets

  • DoubleNegativeDroplets

  • DoublePositiveDroplets

If data from QuantaSoft is available, these can be imported using import_QS_files.

Value

List of parameter estimates for the simple CASLTE model. This should be used as input for test_tumor_sample_simple.

See Also

import_QS_files, test_tumor_sample_simple


simondrue/castle documentation built on Jan. 29, 2022, 3:04 a.m.