hierfstat
hierfstat copied to clipboard
gstat.randtest missing
I discovered today that the function gstat.randtest() is missing in the latest two releases of the package. Was there a name change or have you removed the function for some reason?
As far as I know, there never has been a function gstat.randtest
in hierfstat
. There is a function test.g
, perhaps this is what you are looking for? Otherwise, there is gstat.randtest
in adegenet
. Best regards
As far as I know, there never has been a function
gstat.randtest
inhierfstat
. There is a functiontest.g
, perhaps this is what you are looking for? Otherwise, there isgstat.randtest
inadegenet
. Best regards
https://www.rdocumentation.org/packages/hierfstat/versions/0.04-22/topics/gstat.randtest
It was removed from adegenet and they claim that it was moved to hierfstat. It is present in 0.04-22 and works.
https://rdrr.io/cran/adegenet/src/R/gstat.randtest.R
message("Sorry, this function depends on hierfstat, and has been moved to the package hierfstat.")
Has there been a replacement for gstat.randtest and fstat()? I used them in previous versions and found them great! Have they maybe been renamed? I can't find them or the equivalent anywhere.
Thanks for your note. There will not be a replacement for fstat()
, as several functions in hierfstat
already exist to estimates one of the several Fsts (e.g. basic.stats
, wc
, fs.dosage
. All but the last can also take as argument genind
objects, e.g.:
>data(nancycats)
> wc(nancycats)
$FST
[1] 0.08494959
$FIS
[1] 0.120589
I'll reintroduce gstat.randtest
in the next release