compute_snpQ1onepop: compute_snpQ1onepop
Description
Compute SNP-specific Q1 for one pop
Usage
.compute_snpQ1onepop(refcount, totcount, weight)
Value
Return a vector of length nsnps with SNP-specific Q1
Arguments
- refcount
Vector of nsnp counts (genotype or reads) for the reference allele
- totcount
Vector of nsnp total counts or read coverages
- weight
Numeric (w=1 for allele count data and w=poolsize/(poolsize-1) for PoolSeq data)
Details
Compute SNP-specific Q1 for one pop. samples.