Remove duplicate rows based on SNP column
remove_duplicate_SNP.RdThis function removes duplicate rows based on the "SNP" column, prioritizing rows with "cis" in the "cis_trans" column. For a given SNP, it keeps only one row, prioritizing the row with "cis" in "cis_trans" and removing others.