Analyzing case-parent triad and/or case-control data with SNP