Last data update: 2014.03.03
|
R: Matrix version of HWExact
HWExactMat | R Documentation |
Matrix version of HWExact
Description
HWExactMat executes a fast Exact test for HWE for each row in a matrix.
Usage
HWExactMat(X, ...)
Arguments
X |
A n times 3 matrix of genotypic counts (AA,AB,BB)
|
... |
extra arguments that are passed on to HWExact
|
Value
pvalvec |
Vector with the p-values of each test
|
Author(s)
Jan Graffelman jan.graffelman@upc.edu
See Also
HWExact
Examples
X <- HWData(100,10)
colnames(X) <- c("MM","MN","NN")
Results <- HWExactMat(X)
Output <- cbind(X,Results$pvalvec)
print(Output)
Results
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(HardyWeinberg)
Loading required package: mice
Loading required package: Rcpp
mice 2.25 2015-11-09
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/HardyWeinberg/HWExactMat.Rd_%03d_medium.png", width=480, height=480)
> ### Name: HWExactMat
> ### Title: Matrix version of HWExact
> ### Aliases: HWExactMat
> ### Keywords: htest
>
> ### ** Examples
>
> X <- HWData(100,10)
> colnames(X) <- c("MM","MN","NN")
> Results <- HWExactMat(X)
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 0 nMN = 2 nNN = 8
H0: HWE (D==0), H1: D <> 0
D = 0.1 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 9 nMN = 1 nNN = 0
H0: HWE (D==0), H1: D <> 0
D = 0.025 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 3 nMN = 7 nNN = 0
H0: HWE (D==0), H1: D <> 0
D = 1.225 p = 0.2198142
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 1 nMN = 5 nNN = 4
H0: HWE (D==0), H1: D <> 0
D = 0.225 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 10 nMN = 0 nNN = 0
H0: HWE (D==0), H1: D <> 0
D = 0 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 0 nMN = 5 nNN = 5
H0: HWE (D==0), H1: D <> 0
D = 0.625 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 0 nMN = 7 nNN = 3
H0: HWE (D==0), H1: D <> 0
D = 1.225 p = 0.2198142
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 1 nMN = 5 nNN = 4
H0: HWE (D==0), H1: D <> 0
D = 0.225 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 0 nMN = 3 nNN = 7
H0: HWE (D==0), H1: D <> 0
D = 0.225 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 8 nMN = 2 nNN = 0
H0: HWE (D==0), H1: D <> 0
D = 0.1 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 0 nMN = 2 nNN = 8
H0: HWE (D==0), H1: D <> 0
D = 0.1 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 9 nMN = 1 nNN = 0
H0: HWE (D==0), H1: D <> 0
D = 0.025 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 8 nMN = 2 nNN = 0
H0: HWE (D==0), H1: D <> 0
D = 0.1 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 0 nMN = 3 nNN = 7
H0: HWE (D==0), H1: D <> 0
D = 0.225 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 5 nMN = 4 nNN = 1
H0: HWE (D==0), H1: D <> 0
D = -0.1 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 7 nMN = 3 nNN = 0
H0: HWE (D==0), H1: D <> 0
D = 0.225 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 0 nMN = 5 nNN = 5
H0: HWE (D==0), H1: D <> 0
D = 0.625 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 8 nMN = 2 nNN = 0
H0: HWE (D==0), H1: D <> 0
D = 0.1 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 5 nMN = 5 nNN = 0
H0: HWE (D==0), H1: D <> 0
D = 0.625 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 1 nMN = 4 nNN = 5
H0: HWE (D==0), H1: D <> 0
D = -0.1 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 3 nMN = 7 nNN = 0
H0: HWE (D==0), H1: D <> 0
D = 1.225 p = 0.2198142
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 0 nMN = 7 nNN = 3
H0: HWE (D==0), H1: D <> 0
D = 1.225 p = 0.2198142
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 1 nMN = 7 nNN = 2
H0: HWE (D==0), H1: D <> 0
D = 1.025 p = 0.5198857
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 7 nMN = 3 nNN = 0
H0: HWE (D==0), H1: D <> 0
D = 0.225 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 10 nMN = 0 nNN = 0
H0: HWE (D==0), H1: D <> 0
D = 0 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 1 nMN = 2 nNN = 7
H0: HWE (D==0), H1: D <> 0
D = -0.6 p = 0.3065015
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 2 nMN = 3 nNN = 5
H0: HWE (D==0), H1: D <> 0
D = -0.775 p = 0.4798762
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 1 nMN = 6 nNN = 3
H0: HWE (D==0), H1: D <> 0
D = 0.6 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 5 nMN = 4 nNN = 1
H0: HWE (D==0), H1: D <> 0
D = -0.1 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 3 nMN = 6 nNN = 1
H0: HWE (D==0), H1: D <> 0
D = 0.6 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 6 nMN = 2 nNN = 2
H0: HWE (D==0), H1: D <> 0
D = -1.1 p = 0.1331269
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 4 nMN = 5 nNN = 1
H0: HWE (D==0), H1: D <> 0
D = 0.225 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 1 nMN = 1 nNN = 8
H0: HWE (D==0), H1: D <> 0
D = -0.775 p = 0.1578947
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 6 nMN = 4 nNN = 0
H0: HWE (D==0), H1: D <> 0
D = 0.4 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 8 nMN = 2 nNN = 0
H0: HWE (D==0), H1: D <> 0
D = 0.1 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 7 nMN = 3 nNN = 0
H0: HWE (D==0), H1: D <> 0
D = 0.225 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 3 nMN = 3 nNN = 4
H0: HWE (D==0), H1: D <> 0
D = -0.975 p = 0.2455347
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 6 nMN = 4 nNN = 0
H0: HWE (D==0), H1: D <> 0
D = 0.4 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 6 nMN = 3 nNN = 1
H0: HWE (D==0), H1: D <> 0
D = -0.375 p = 0.4798762
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 1 nMN = 5 nNN = 4
H0: HWE (D==0), H1: D <> 0
D = 0.225 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 1 nMN = 5 nNN = 4
H0: HWE (D==0), H1: D <> 0
D = 0.225 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 0 nMN = 2 nNN = 8
H0: HWE (D==0), H1: D <> 0
D = 0.1 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 4 nMN = 5 nNN = 1
H0: HWE (D==0), H1: D <> 0
D = 0.225 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 7 nMN = 3 nNN = 0
H0: HWE (D==0), H1: D <> 0
D = 0.225 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 2 nMN = 2 nNN = 6
H0: HWE (D==0), H1: D <> 0
D = -1.1 p = 0.1331269
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 0 nMN = 0 nNN = 10
H0: HWE (D==0), H1: D <> 0
D = 0 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 1 nMN = 4 nNN = 5
H0: HWE (D==0), H1: D <> 0
D = -0.1 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 4 nMN = 4 nNN = 2
H0: HWE (D==0), H1: D <> 0
D = -0.4 p = 0.5732317
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 3 nMN = 4 nNN = 3
H0: HWE (D==0), H1: D <> 0
D = -0.5 p = 0.5635324
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 9 nMN = 1 nNN = 0
H0: HWE (D==0), H1: D <> 0
D = 0.025 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 0 nMN = 3 nNN = 7
H0: HWE (D==0), H1: D <> 0
D = 0.225 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 0 nMN = 6 nNN = 4
H0: HWE (D==0), H1: D <> 0
D = 0.9 p = 0.4798762
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 1 nMN = 6 nNN = 3
H0: HWE (D==0), H1: D <> 0
D = 0.6 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 8 nMN = 2 nNN = 0
H0: HWE (D==0), H1: D <> 0
D = 0.1 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 7 nMN = 2 nNN = 1
H0: HWE (D==0), H1: D <> 0
D = -0.6 p = 0.3065015
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 1 nMN = 1 nNN = 8
H0: HWE (D==0), H1: D <> 0
D = -0.775 p = 0.1578947
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 10 nMN = 0 nNN = 0
H0: HWE (D==0), H1: D <> 0
D = 0 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 1 nMN = 5 nNN = 4
H0: HWE (D==0), H1: D <> 0
D = 0.225 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 0 nMN = 0 nNN = 10
H0: HWE (D==0), H1: D <> 0
D = 0 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 6 nMN = 4 nNN = 0
H0: HWE (D==0), H1: D <> 0
D = 0.4 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 8 nMN = 2 nNN = 0
H0: HWE (D==0), H1: D <> 0
D = 0.1 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 8 nMN = 2 nNN = 0
H0: HWE (D==0), H1: D <> 0
D = 0.1 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 2 nMN = 8 nNN = 0
H0: HWE (D==0), H1: D <> 0
D = 1.6 p = 0.1731365
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 0 nMN = 2 nNN = 8
H0: HWE (D==0), H1: D <> 0
D = 0.1 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 1 nMN = 6 nNN = 3
H0: HWE (D==0), H1: D <> 0
D = 0.6 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 6 nMN = 3 nNN = 1
H0: HWE (D==0), H1: D <> 0
D = -0.375 p = 0.4798762
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 1 nMN = 9 nNN = 0
H0: HWE (D==0), H1: D <> 0
D = 2.025 p = 0.04548702
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 6 nMN = 4 nNN = 0
H0: HWE (D==0), H1: D <> 0
D = 0.4 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 0 nMN = 0 nNN = 10
H0: HWE (D==0), H1: D <> 0
D = 0 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 5 nMN = 4 nNN = 1
H0: HWE (D==0), H1: D <> 0
D = -0.1 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 4 nMN = 3 nNN = 3
H0: HWE (D==0), H1: D <> 0
D = -0.975 p = 0.2455347
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 9 nMN = 1 nNN = 0
H0: HWE (D==0), H1: D <> 0
D = 0.025 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 5 nMN = 5 nNN = 0
H0: HWE (D==0), H1: D <> 0
D = 0.625 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 0 nMN = 2 nNN = 8
H0: HWE (D==0), H1: D <> 0
D = 0.1 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 10 nMN = 0 nNN = 0
H0: HWE (D==0), H1: D <> 0
D = 0 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 0 nMN = 7 nNN = 3
H0: HWE (D==0), H1: D <> 0
D = 1.225 p = 0.2198142
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 2 nMN = 3 nNN = 5
H0: HWE (D==0), H1: D <> 0
D = -0.775 p = 0.4798762
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 0 nMN = 4 nNN = 6
H0: HWE (D==0), H1: D <> 0
D = 0.4 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 1 nMN = 7 nNN = 2
H0: HWE (D==0), H1: D <> 0
D = 1.025 p = 0.5198857
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 1 nMN = 5 nNN = 4
H0: HWE (D==0), H1: D <> 0
D = 0.225 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 9 nMN = 1 nNN = 0
H0: HWE (D==0), H1: D <> 0
D = 0.025 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 0 nMN = 2 nNN = 8
H0: HWE (D==0), H1: D <> 0
D = 0.1 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 1 nMN = 3 nNN = 6
H0: HWE (D==0), H1: D <> 0
D = -0.375 p = 0.4798762
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 1 nMN = 6 nNN = 3
H0: HWE (D==0), H1: D <> 0
D = 0.6 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 5 nMN = 3 nNN = 2
H0: HWE (D==0), H1: D <> 0
D = -0.775 p = 0.4798762
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 6 nMN = 2 nNN = 2
H0: HWE (D==0), H1: D <> 0
D = -1.1 p = 0.1331269
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 8 nMN = 2 nNN = 0
H0: HWE (D==0), H1: D <> 0
D = 0.1 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 1 nMN = 5 nNN = 4
H0: HWE (D==0), H1: D <> 0
D = 0.225 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 0 nMN = 4 nNN = 6
H0: HWE (D==0), H1: D <> 0
D = 0.4 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 0 nMN = 6 nNN = 4
H0: HWE (D==0), H1: D <> 0
D = 0.9 p = 0.4798762
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 8 nMN = 2 nNN = 0
H0: HWE (D==0), H1: D <> 0
D = 0.1 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 4 nMN = 6 nNN = 0
H0: HWE (D==0), H1: D <> 0
D = 0.9 p = 0.4798762
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 3 nMN = 4 nNN = 3
H0: HWE (D==0), H1: D <> 0
D = -0.5 p = 0.5635324
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 5 nMN = 4 nNN = 1
H0: HWE (D==0), H1: D <> 0
D = -0.1 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 3 nMN = 3 nNN = 4
H0: HWE (D==0), H1: D <> 0
D = -0.975 p = 0.2455347
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 8 nMN = 2 nNN = 0
H0: HWE (D==0), H1: D <> 0
D = 0.1 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 4 nMN = 5 nNN = 1
H0: HWE (D==0), H1: D <> 0
D = 0.225 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 0 nMN = 0 nNN = 10
H0: HWE (D==0), H1: D <> 0
D = 0 p = 1
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 2 nMN = 2 nNN = 6
H0: HWE (D==0), H1: D <> 0
D = -1.1 p = 0.1331269
Haldane Exact test for Hardy-Weinberg equilibrium (autosomal)
using SELOME p-value
sample counts: nMM = 5 nMN = 5 nNN = 0
H0: HWE (D==0), H1: D <> 0
D = 0.625 p = 1
> Output <- cbind(X,Results$pvalvec)
> print(Output)
MM MN NN
[1,] 0 2 8 1.00000000
[2,] 9 1 0 1.00000000
[3,] 3 7 0 0.21981424
[4,] 1 5 4 1.00000000
[5,] 10 0 0 1.00000000
[6,] 0 5 5 1.00000000
[7,] 0 7 3 0.21981424
[8,] 1 5 4 1.00000000
[9,] 0 3 7 1.00000000
[10,] 8 2 0 1.00000000
[11,] 0 2 8 1.00000000
[12,] 9 1 0 1.00000000
[13,] 8 2 0 1.00000000
[14,] 0 3 7 1.00000000
[15,] 5 4 1 1.00000000
[16,] 7 3 0 1.00000000
[17,] 0 5 5 1.00000000
[18,] 8 2 0 1.00000000
[19,] 5 5 0 1.00000000
[20,] 1 4 5 1.00000000
[21,] 3 7 0 0.21981424
[22,] 0 7 3 0.21981424
[23,] 1 7 2 0.51988569
[24,] 7 3 0 1.00000000
[25,] 10 0 0 1.00000000
[26,] 1 2 7 0.30650155
[27,] 2 3 5 0.47987616
[28,] 1 6 3 1.00000000
[29,] 5 4 1 1.00000000
[30,] 3 6 1 1.00000000
[31,] 6 2 2 0.13312693
[32,] 4 5 1 1.00000000
[33,] 1 1 8 0.15789474
[34,] 6 4 0 1.00000000
[35,] 8 2 0 1.00000000
[36,] 7 3 0 1.00000000
[37,] 3 3 4 0.24553465
[38,] 6 4 0 1.00000000
[39,] 6 3 1 0.47987616
[40,] 1 5 4 1.00000000
[41,] 1 5 4 1.00000000
[42,] 0 2 8 1.00000000
[43,] 4 5 1 1.00000000
[44,] 7 3 0 1.00000000
[45,] 2 2 6 0.13312693
[46,] 0 0 10 1.00000000
[47,] 1 4 5 1.00000000
[48,] 4 4 2 0.57323172
[49,] 3 4 3 0.56353244
[50,] 9 1 0 1.00000000
[51,] 0 3 7 1.00000000
[52,] 0 6 4 0.47987616
[53,] 1 6 3 1.00000000
[54,] 8 2 0 1.00000000
[55,] 7 2 1 0.30650155
[56,] 1 1 8 0.15789474
[57,] 10 0 0 1.00000000
[58,] 1 5 4 1.00000000
[59,] 0 0 10 1.00000000
[60,] 6 4 0 1.00000000
[61,] 8 2 0 1.00000000
[62,] 8 2 0 1.00000000
[63,] 2 8 0 0.17313646
[64,] 0 2 8 1.00000000
[65,] 1 6 3 1.00000000
[66,] 6 3 1 0.47987616
[67,] 1 9 0 0.04548702
[68,] 6 4 0 1.00000000
[69,] 0 0 10 1.00000000
[70,] 5 4 1 1.00000000
[71,] 4 3 3 0.24553465
[72,] 9 1 0 1.00000000
[73,] 5 5 0 1.00000000
[74,] 0 2 8 1.00000000
[75,] 10 0 0 1.00000000
[76,] 0 7 3 0.21981424
[77,] 2 3 5 0.47987616
[78,] 0 4 6 1.00000000
[79,] 1 7 2 0.51988569
[80,] 1 5 4 1.00000000
[81,] 9 1 0 1.00000000
[82,] 0 2 8 1.00000000
[83,] 1 3 6 0.47987616
[84,] 1 6 3 1.00000000
[85,] 5 3 2 0.47987616
[86,] 6 2 2 0.13312693
[87,] 8 2 0 1.00000000
[88,] 1 5 4 1.00000000
[89,] 0 4 6 1.00000000
[90,] 0 6 4 0.47987616
[91,] 8 2 0 1.00000000
[92,] 4 6 0 0.47987616
[93,] 3 4 3 0.56353244
[94,] 5 4 1 1.00000000
[95,] 3 3 4 0.24553465
[96,] 8 2 0 1.00000000
[97,] 4 5 1 1.00000000
[98,] 0 0 10 1.00000000
[99,] 2 2 6 0.13312693
[100,] 5 5 0 1.00000000
>
>
>
>
>
> dev.off()
null device
1
>
|