<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi, <div><br></div><div>I’m trying to calculate Fst values for about 10,000 loci in two different populations using the following line of code:</div><div><br></div><div><div style="margin: 0px; font-size: 10px;"> pairwise.fst(x, pop=NULL, res.type=c("dist","matrix"), truenames=TRUE)</div></div><div style="margin: 0px; font-size: 10px;"><br></div><div style="margin: 0px; font-size: 10px;"><span style="font-size: 12px;">I have two questions:</span></div><div style="margin: 0px; font-size: 10px;"><span style="font-size: 12px;"><br></span></div><div style="margin: 0px;"><span style="font-size: 12px;">1) How would I specify the populations in this line? If I included a population </span>definition file when converting to a genetix file, is that sufficient, and would the it still be pop=NULL?</div><div style="margin: 0px;"><br></div><div style="margin: 0px;">2) When I try to run this in R, I get the following error message. Am I missing something?</div><div style="margin: 0px;"><br></div><div style="margin: 0px;"><div style="margin: 0px;">> pairwise.fst(NJ155_gen, pop=NULL, res.type=c("dist","matrix"), truenames=TRUE)</div><div style="margin: 0px;"><br></div><div style="margin: 0px;"><font color="#e32400">Error in sub(paste("^.{", ncode/ploidy, "}", sep = ""), "", X) : </font></div><div style="margin: 0px;"><font color="#e32400"> invalid regular expression '^.{543}', reason 'Invalid contents of {}’</font></div><div style="margin: 0px;"><font color="#e32400"><br></font></div><div style="margin: 0px;"><font color="#e32400"><br></font></div><div style="margin: 0px;">Thank you, </div><div style="margin: 0px;"><br></div><div style="margin: 0px;">Tara</div></div></body></html>