gtest.haplotype_structure {gwid}R Documentation

Perform G-test on haplotype structures extracted from haplotype_structure function

Description

Perform G-test on haplotype structures extracted from haplotype_structure function

Usage

## S3 method for class 'haplotype_structure'
gtest(haplotype_structure, reference, ...)

Arguments

haplotype_structure

An object of class haplotype_structure. Output of haplotype_structure function.

reference

reference group of subjects in which we want to perform G-test

...

other variables

Value

the output will be a test_snps (data.table) object including 3 columns: “snp_pos”, “case_control”, and “value” which is a p-values.


[Package gwid version 0.1.0 Index]