millanek / Dsuite

Fast calculation of Patterson's D (ABBA-BABA) and the f4-ratio statistics across many populations/species
160 stars 26 forks source link

Only plot fbranch results with Z>=3 #84

Open jiangzy26 opened 9 months ago

jiangzy26 commented 9 months ago

Hi, I am trying Dsuite, I am wondering whether there is a method to only plot those fbranch values with Zscore over 3, with so many species, it would be hard to select fb values with Z>=3.

Thank you very much.

bshahid5 commented 9 months ago

Not sure if this will solve your problem, but you can change all Z scores < 3 to 0 through this script by Joana Meier: https://github.com/joanam/scripts/blob/master/removeNonsignDsuite.r