whitlock / OutFLANK

A procedure to find Fst outliers based on an inferred distribution of neutral Fst
18 stars 9 forks source link

Missing Value error with OutFLANK function #29

Open emilya21 opened 3 years ago

emilya21 commented 3 years ago

Hi, I am getting an error that I cannot solve when trying to calibrate the null distribution with my subset of SNPs.

I am trying to run:

out1 <- OutFLANK(FstDataFrame, NumberOfSamples = 2, qthreshold = 0.05, Hmin = 0.1)

where FSTDataFrame is the data frame created from my subset of 50,000 SNPs. The error I am getting is:

Error in if (any(workingDataFrame$OutlierFlag[workingDataFrame$FSTNoCorr < : missing value where TRUE/FALSE needed

Here is a link to the data frame that I am using: https://drive.google.com/file/d/14tunMWoCk5c-8emcKHlNRDF_BPJJAAAa/view?usp=sharing

Any and all help trying to solve this error is much appreciated!

Emily

esnielsen commented 3 years ago

Hi Emily,

Did you ever find a solution to this error? I am having the same issue...

Thanks! Erica