Description Usage Arguments Details Value Examples
Quick pvalue of total number of heterozygous loci
| 1 | mixIndependK(x,sep,t,B)
 | 
| x | a dataset of alleles. Each row denotes each individual.One allele in one cell.In the (2r-1)th column, there is the same locus with the 2r-th column; noted: no column for ID, make row.names=1 when importing. | 
| sep | allele separator in the imported genotype data. Note: when using the special character like "|", remember to protect it as "\|". | 
| t | times of simulation in "Simulate_DistK" and "Simulate_DistX". | 
| B | times of bootstrapping in Chi Squares Test. | 
This function is a summary of pipeline for number of heterozygous loci (K), and generates the p-value of K for the target dataset.
pvalue (1-cumulative probabilities) for the number of heterozygous loci(K)
| 1 2 3 | x <- data.frame(SNP1=c("A|A","T|T","A|T","A|T"),
                STR1=c("12|12","13|14","13|13","14|15"))
mixIndependK(x,sep ="\\|",10,10)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.