I'm trying to achieve the same and followed your recommendations but it seems like hierfstat only allows 1 and 2 values as input and they are integers not factors in the example given.
• 0 views
•
link
I know that the Pegas package calculates Fst. With some minor file formatting you could use it.
I would also suggest trying to write your own. Fst is pretty easy to implement and worth it.