sig.hets | R Documentation |
This function will recognize the SNPs with a proportion of heterozygotes significantly higher than expected under HWE and plot deviant snps based only on the excess of heterozygotes.
sig.hets(
a.info,
Fis,
method = c("chi.sq", "fisher"),
plot = TRUE,
verbose = TRUE,
...
)
a.info |
allele info table generated from filtered vcfs using the
function |
Fis |
numeric. Inbreeding coefficient calculated using |
method |
character. Method for testing significance. Fisher exact test
( |
plot |
logical. Whether to plot the identified duplicated snps with the expected values |
verbose |
logical, if TRUE, the progress is shown |
... |
other arguments passed to |
A matrix of expected heterozygote proportions from the observed data with p-value indicating significance of deviation.
Piyal Karunarathne, Pascal Milesi, Klaus Schliep, Qiujie Zhou
## Not run: data(alleleINF)
AI <- alleleINF
duplicates<-sig.hets(AI,plot=TRUE,Fis=0.1)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.