So I have this list:
structure(list(scaf = structure(1L, .Label = "HE638", class = "factor"),
pos = 8L, scaf = structure(1L, .Label = "HE638", class = "factor"),
pos = 8L, scaf = structure(1L, .Label = "HE638", class = "factor"),
pos = 8L), .Names = c("scaf", "pos", "scaf", "pos", "scaf",
"pos"))
I want to get a data.frame so that the two columns are scaf and pos
This is as far as I've gotten:
do.call(rbind, poor.loci)
Desired result:
scaf pos
HE638 8
HE638 8
HE638 8