compute_snpQ2onepair {poolfstat} | R Documentation |
compute_snpQ2onepair
Description
Compute SNP-specific Q2 for a single pair of samples
Usage
.compute_snpQ2onepair(refcount1, refcount2, totcount1, totcount2)
Arguments
refcount1 |
Vector of count (genotype or reads) for the reference allele in the first sample |
refcount2 |
Vector of count (genotype or reads) for the reference allele in the second sample |
totcount1 |
Vector of total count or read coverages in the first sample |
totcount2 |
Vector of total count or read coverages in the second sample |
Details
Compute SNP-specific Q2 for a single pair of samples
Value
Return a vector of length nsnps with SNP-specific Q1
Examples
#
[Package poolfstat version 3.0.0 Index]