compute_snpQ1onepop {poolfstat} | R Documentation |
compute_snpQ1onepop
Description
Compute SNP-specific Q1 for one pop
Usage
.compute_snpQ1onepop(refcount, totcount, weight)
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.
Value
Return a vector of length nsnps with SNP-specific Q1
Examples
#
[Package poolfstat version 3.0.0 Index]