f4blockdat_from_geno | R Documentation |
Compute per-block f4-statistics directly from genotype data
f4blockdat_from_geno(
pref,
popcombs = NULL,
left = NULL,
right = NULL,
auto_only = TRUE,
blgsize = 0.05,
block_lengths = NULL,
f4mode = TRUE,
allsnps = FALSE,
poly_only = FALSE,
snpwt = NULL,
keepsnps = NULL,
verbose = TRUE
)
pref |
Prefix of genotype files |
popcombs |
A data frame with one population combination per row, and columns |
left |
Populations on the left side of f4 ( |
right |
Populations on the right side of f4 ( |
auto_only |
Use only chromosomes 1 to 22. |
blgsize |
SNP block size in Morgan. Default is 0.05 (5 cM). If |
block_lengths |
An optional vector with block lengths. If |
f4mode |
If |
allsnps |
Use all SNPs with allele frequency estimates in every population of any given population quadruple. If |
poly_only |
Only keep SNPs with mean allele frequency not equal to 0 or 1 (default |
snpwt |
A vector of SNP weights |
keepsnps |
A vector of SNP IDs to keep |
verbose |
Print progress updates |
A data frame with per-block f4-statistics for each population quadruple.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.