variant_calls | R Documentation |
Given a pileup, variants are called accorging to a frequency cutoff (min_freq) or a significance level(sig)
variant_calls(pu, min_freq = NULL, sig = NULL, heavy_tail = NULL)
pu |
a VSeqTools_pileup object returned by BAM_pileup |
min_freq |
Minimum frequency above which a variant is called. |
sig |
Significance levels above which a variant is called |
heavy_tail |
If T, use betabinomial error distribution, otherwise use poisson error distribution. Only relavent when !is.null(sig) |
Exactly one of min_freq and sig must be non-NULL. This determines whether cutoff or poisson algorithm is used.
A VSeqTools_variant_call object which inherits the data.frame class. VSeqTools_variant_call objects are data.frames with columns pos, A, C, G, T, d, i. pos gives the position on the reference. Entries in other columns are logical depending on whether associated variant/deletion/insertion is called
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.