This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Compare two genotype data frame and calculate percentage of differences

Hello there, I have 2 files with the same header and same 1st column, I would like to compare rows by rows and calculate the percentage of matches of the genotype. Somehow I try to transpose it to compare column by column by using the function compare in r, I even try use awk to do the comparing, somehow I couldn't make it. Anyone please help me with some hints or tips. Thanks

/Users/songcheen/Desktop/Screen Shot 2018-09-27 at 5.22.04 PM.png

/Users/songcheen/Desktop/Screen Shot 2018-09-27 at 5.22.35 PM.png

r linux awk

0 answers

No answers yet.

Log in to answer this question.