Add coverage of missing mutations to a data set
add_coverage.Rd
An observation of 0 mutations out of 1 read is a different amount of information from 0 mutations out of 1,000 reads. This function adds the coverage for mutations used in lineage_defs
, which benefits all models (but adds 0-inflation).
Arguments
- coco
The data set.
- coverage
The coverage file, with position as the first column and coverage as the second.
- mutation_list
The mutations to be added (usually
colnames(lineage_defs)
).