Skip to content
New issue

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

OutFLANK ERROR: The estimated pi0 <= 0. #13

Open
Tom-Jenkins opened this issue Jul 19, 2018 · 0 comments
Open

OutFLANK ERROR: The estimated pi0 <= 0. #13

Tom-Jenkins opened this issue Jul 19, 2018 · 0 comments

Comments

@Tom-Jenkins
Copy link

Hi Katie,

I keep getting this error when trying to run OutFLANK:
Error in pi0est(p, ...) :
ERROR: The estimated pi0 <= 0. Check that you have valid p-values or use a different range of lambda.

I have biallelic SNP data and seem to be able to make the diploid Fst input file with no errors. I have included my code and data below - thanks in advance for your help.

load("1223ind_86snps_38pop.RData")
locus_names = locNames(data_filt)
poplist = as.vector(data_filt$pop)

data = read.table("1223ind_86snps_38pop.str.lfmm")
library(OutFLANK)
inputfile = MakeDiploidFSTMat(data, locusNames = locus_names, popNames = poplist)
outflank = OutFLANK(inputfile, LeftTrimFraction = 0.05, RightTrimFraction = 0.05, Hmin = 0.10, NumberOfSamples=38, qthreshold = 0.05)

Data_Files.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant