PMBio / limix-backup

http://pmbio.github.io/limix/
Apache License 2.0
45 stars 12 forks source link

plot_manhattan bug #2

Closed letaylor closed 9 years ago

letaylor commented 10 years ago

I think there is a bug in the significance calculations when the user provides qvalues. These changes might fix it.

if thr==None: thr = 0.01 if qv == None: thr = 0.01/float(posCum.shape[0])

if qv==None: Isign = pv<thr else: Isign = qv<thr # I think this is ment to be qv not pv