Thanks for the quick response. I am trying to use it for a downstream analysis which requires pairwise LD correlation matrix between variants extracted from GWAS summary statistics, and the counted allele must match the effect allele in the GWAS.
To achieve this, I'm currently running it in combination with --a2-allele option, as in:
plink --bfile {bfile_set} --r square --a2-allele {GWAS_file} {var_id.col_number} {effect_allele.col_number} {skip_row}
Will that work?