mixIndependX {mixIndependR} | R Documentation |
Quick pvalue of total number of shared alleles
Description
Quick pvalue of total number of shared alleles
Usage
mixIndependX(x,sep,t,B)
Arguments
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. |
Details
This function is a summary of pipeline for number of shared alleles(X), and generates the p-value of K for the target dataset.
Value
pvalue (1-cumulative probabilities) for the number of shared alleles(K)
Examples
x <- data.frame(SNP1=c("A|A","T|T","A|T","A|T"),
STR1=c("12|12","13|14","13|13","14|15"))
mixIndependX(x,sep="\\|",10,10)
[Package mixIndependR version 1.0.0 Index]