We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I've been trying to use aboot with hierfstat's fstat with little success. Following are the commands I used from a clean environment:
install.packages("poppr") install.packages("hierfstat") library("poppr") library("hierfstat") data("nancycats") my.fst.dist <- function(s) fstat(x = s,pop = NULL,fstonly = TRUE) nancy_tree <- aboot(nancycats, distance = "my.fst.dist")
This gives the output:
Error in fstat(s) : x is not a valid genind object
However I also get the following:
nancycats
/// GENIND OBJECT ///////// // 237 individuals; 9 loci; 108 alleles; size: 145.3 Kb // Basic content @tab: 237 x 108 matrix of allele counts ......
/// GENIND OBJECT /////////
// 237 individuals; 9 loci; 108 alleles; size: 145.3 Kb
// Basic content @tab: 237 x 108 matrix of allele counts ......
and
fstat(nancycats)
gives
pop Ind Total 0.08494959 0.1952946 pop 0.00000000 0.1205890
pop Ind
Total 0.08494959 0.1952946 pop 0.00000000 0.1205890
Any help would be appreciated. Thanks, Will
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I've been trying to use aboot with hierfstat's fstat with little success.
Following are the commands I used from a clean environment:
This gives the output:
However I also get the following:
nancycats
and
fstat(nancycats)
gives
Any help would be appreciated.
Thanks,
Will
The text was updated successfully, but these errors were encountered: