I am quite new with R. I looked for the answer in many website but I didn't find a clear way to solve my problem.
I have a data frame with two columns with each column has a list of SNPs in more than 1000 rows but not the same number of row.
I did > match(df$SNP1, df$SNP2) and find the indices of row having NA value which is the mismatch. But now, I want to get the rs# instead of the indices of the rows. How can I get this rs# instead of row indices?