Skip to contents

Inspects each annotation column and returns whether its values lie in {0, 1} (binary) or take other values (continuous).

Usage

is_binary_sldsc_annot(target_anno_dir, annot_cols = NULL)

Arguments

target_anno_dir

Character. Directory containing the target `.annot.gz` files (one per chromosome).

annot_cols

Character or integer vector, default NULL.

Value

Named logical vector: TRUE for binary, FALSE for continuous.