Skip to contents

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.