Description Usage Arguments Value
View source: R/generate_model.R
Generate all error models for each trinucleotide variant context. Fits error distribution with either an Exp or Weibull distribution depending on the overall distribution of non-reference alleles. If the most frequent non-reference allele count is 1 (typically at <10,000 sequencing depth) an Exponential distribution will be fitted and if it is greater than 1 (seen at ultra-deep read depths) a Weibull distribution will be fitted.
1 | generate_model(i, data, groups, model = "auto")
|
i |
Index of the FlankingSeqGroup for which the model is being generated |
data |
|
groups |
|
model |
Specifying which error model (exp or weibull) to fit. Default is "auto". |
This function returns a dataframe
with the following information:
FlankingSeqGroup
Model Used (Exp or Weibull)
Model parameter 1
Model parameter 2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.