Description Usage Arguments Value
Normalise a SNP count vector for a single SNP by an external reference frequency distribution by mean and standard deviation predicted under a binomial model.
1 | normalisesnp(x, f, ploidy = 2, minfreq = 0.001, meanimpute = FALSE)
|
x |
A vector of Individuals SNP data of length N |
f |
The snp frequency for that SNP |
ploidy |
ploidy of the data (2=diploid) ; maximum that rawdatmat can take |
minfreq |
a thresholding for very raw SNPs in the reference, to prevent them from being over-weighted |
meanimpute |
(default FALSE) whether to mean impute missing data |
A vector of length = length(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.