mcnemar_test.result_snps {gwid}R Documentation

mcnemar test

Description

mcnemar test

Usage

## S3 method for class 'result_snps'
mcnemar_test(
  roh = "object of class result_snps (output of function roh with fun=sum)",
  reference,
  w = 10,
  ...
)

Arguments

roh

An object of class result_snps (output of function roh with fun=sum)

reference

reference group of subjects in which we want to perform fisher test.

w

window size

...

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]