single_position.error | R Documentation |
Determine the frequency error at variable positions
single_position.error(pu, haplotypes, freq, minimum_coverage = 1000)
pu |
A VSeqTools_Pileup object as produced by BAM_pileup |
haplotypes |
character.vector of haplotypes |
freq |
numeric.vector of haplotype frequencies |
min_coverage |
minimum coverage needed to compute errors, otherwise an NA is returned |
a data.frame containing columns pos, error that give reference position and frequency error at the position. Errors are the sum of absolute value of frequency error over the nucleotides.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.