Description Usage Arguments Value
For each site within each sample, it determines if the dominant allele is homogeneous (likeley the only allele present), or if there is evidence of a second allele present (heterogeneous).
1  | determine_sample_dist(dat, thres = 0.05, error_prob = 0.01)
 | 
dat | 
 A data.frame or tibble. One site per line, must have columns depth and freq.  | 
thres | 
 p-value threshold to consider that the evidence against error only model is too large. Sites within samples with p-value below threshold will be considered heterogeneous.  | 
error_prob | 
 Baseline error probability in sequences.  | 
A data frame or tibble with columns for depth, freq and sample_dist, as well as any other columns previously present.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.