I am trying to read the SNPs data as hapmap format (showing in attached photo). I could not find the reason that caused more columns as mentioned in error messages. Do you have any suggestions for it?
> hapmap_toad <- read.table("canetoad_wild_filtered_rename.hmp.txt", header=TRUE, row.names=1, sep="\t")
Error in read.table("canetoad_wild_filtered_rename.hmp.txt", header = TRUE, :
more columns than column names