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

fitLMM dies with AttributeError #30

Open
UrbsMcBurbs opened this issue Mar 26, 2019 · 0 comments
Open

fitLMM dies with AttributeError #30

UrbsMcBurbs opened this issue Mar 26, 2019 · 0 comments

Comments

@UrbsMcBurbs
Copy link

Hi,
When I call fitLMM, I get this:

`AttributeError Traceback (most recent call last)
in ()
7
8 # fit lmm without correction
----> 9 pv0,beta0,info0 = sclvm.fitLMM(K=None,i0=i0,i1=i1,verbose=False)
10 pv0,beta0,info0 = hack_fitLMM(sclvm, K=None,i0=i0,i1=i1,verbose=False)
11 # fit lmm with correction

/usr/lib/python2.7/site-packages/scLVM/core.pyc in fitLMM(self, K, tech_noise, idx, i0, i1, verbose)
333 else:
334 _K = None
--> 335 lm = QTL.test_lmm(Ystd,Ystd[:,ids:ids+1],K=_K,verbose=False,**lmm_params)
336 pv[count,:] = lm.getPv()[0,:]
337 beta[count,:] = lm.getBetaSNP()[0,:]

AttributeError: 'module' object has no attribute 'test_lmm'`

I'm using limix version 1.0.18, but previously tried it with 2.0.2 and had the same problem. The problem seems to be that scLVM calls QTL.test_lmm() when it should be calling QTL.qtl_test_lmm(). I think that test_lmm() was renamed.

Thanks and cheers.
Urbs

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