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.

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.