compute_snpQ1 | R Documentation |
Compute SNP-specific Q1 by averaging over all samples
.compute_snpQ1(refcount, totcount, weight, verbose)
refcount |
Matrix of nsnpxnpop with counts (genotype or reads) for the reference allele |
totcount |
Matrix of nsnpxnpop with total counts or read coverages |
weight |
Vector of length npop giving the weighting scheme (w=1 for allele count data and w=poolsize/(poolsize-1) for PoolSeq data) |
verbose |
Logical (if TRUE progression bar is printed on the terminal) |
Compute all the SNP-specific Q1 over all pop. samples (useful for Fst computation with method Identity).
Return a vector of length nsnps with SNP-specific Q1
#
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.