filter_fis | R Documentation |
TODO
filter_fis(
data,
approach = "haplotype",
fis.min.threshold,
fis.max.threshold,
fis.diff.threshold,
pop.threshold,
percent,
filename
)
data |
14 options for input (diploid data only): VCFs (SNPs or Haplotypes,
to make the vcf population ready),
plink (tped, bed), stacks haplotype file, genind (library(adegenet)),
genlight (library(adegenet)), gtypes (library(strataG)), genepop, DArT,
and a data frame in long/tidy or wide format. To verify that radiator detect
your file format use DArT and VCF data: radiator was not meant to generate alleles and genotypes if you are using a VCF file with no genotype (only genotype likelihood: GL or PL). Neither is radiator able to magically generate a genind object from a SilicoDArT dataset. Please look at the first few lines of your dataset to understand it's limit before asking raditor to convert or filter your dataset. |
approach |
Character. By |
fis.min.threshold |
Number. |
fis.max.threshold |
Number. |
fis.diff.threshold |
Number (0 - 1) |
pop.threshold |
Fixed number of pop required to keep the locus. |
percent |
Is the threshold a percentage ? TRUE or FALSE. |
filename |
(optional) The function uses |
The Fis calculated uses the ratio of averages (1-mean(Ho)/mean(Hs)) and NOT THE AVERAGE OF RATIOS (Nei 1987).
Thierry Gosselin thierrygosselin@icloud.com
Nei M. (1987) Molecular Evolutionary Genetics. Columbia University Press.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.