I have an R dataframe that has duplicate rows as follows:
X1 X10
rs6908903 chr6
rs6908903 chr6_GL000251v2_alt
rs6908903 chr6_GL000252v2_alt
rs6908903 chr6_GL000252v2_alt
rs6908903 chr6_GL000252v2_alt
In this case, I want to create a new df containing only the first row (Chr6) and delete rows containing the char GL000
Thanks in advance