Description Usage Arguments Details Value Author(s) Examples
Global and by SNP Fst computation for given populations
1 |
x |
A |
map |
Recombinaison map. Must be |
block |
Maximum recombinaison value in cM/Mb to define haplotype blocks |
minl |
Minimum length of haplotype block |
maxl |
Maximum length of haplotype block |
thread |
Number of used thread |
Haplotype frequencies are estimated using EM algorithm available in haplo.stats
package.
A List of 22 elements, one by autosomal chromosoms. Each element is a list of two with: - a vector with heterozygotie rate by considered haplotype blocks. - a list which gives for each haplotype blocks ids of considered SNP.
Claire Dandine-Roulland
1 2 3 4 5 6 | # load chr2 data set (~10k SNPs in low LD)
x <- set.stats(read.bed.matrix( system.file("extdata", "chr2.bed", package="gaston") ))
# Compute Fst
het <- het.haplo(x, map='B37', block=0.5, minl=1, maxl=+Inf, thread=1)
str(het)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.