Skip to contents

Testing causality of variants from ethnically homogeneous cohorts

Usage

qcat(
  chr,
  start_bp,
  end_bp,
  wing_size,
  study_pop,
  input_file,
  reference_index_file,
  reference_data_file,
  reference_pop_desc_file,
  af1_cutoff = NULL
)

Arguments

chr

chromosome number

start_bp

start base pair position of prediction window

end_bp

end base pair position of prediction window

wing_size

the size of the area flanking the left and right of the prediction window

study_pop

study population group

input_file

file name of GWAS summary statistics data containing rsid, chr, bp, a1, a2, af1, and z

reference_index_file

file name of reference panel index data

reference_data_file

file name of reference panel data

reference_pop_desc_file

file name of reference panel population description data

af1_cutoff

cutoff of reference allele, a1, frequency

Value

R dataframe containing rsid, chr, bp, a1, a2, af1ref, z, qcat_chisq, qcat_pval, type