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

'module' object has no attribute 'CFixedCF' #17

Closed
jkleinj opened this issue Aug 8, 2016 · 3 comments
Closed

'module' object has no attribute 'CFixedCF' #17

jkleinj opened this issue Aug 8, 2016 · 3 comments

Comments

@jkleinj
Copy link

jkleinj commented Aug 8, 2016

Dear Authors,

I am running the vignette
https://github.com/PMBio/scLVM/blob/master/R/tutorials/scLVM_vignette.Rmd

on the current (cloned) version of scLVM
https://github.com/PMBio/scLVM/blob/master/R/scLVM_0.99.2.tar.gz.

In the section 'Fitting multiple factors', the line
% th2 = fitFactor(sclvmMult, idx = idx_Th2, XKnown = Xcc, k = 1, interaction=TRUE)
returns an error message of the type
% 'module' object has no attribute 'CFixedCF'.

Do you have an explanation and possibly a solution for that?

Thanks,
Jens

@arthuryxt
Copy link

Dear Authors,

I am also stuck there. Could you fix it?

Thanks,
Arthur

@emerygoossens
Copy link

I cannot seem to get past this part either. I am having trouble including additional covariates when using the fitFactor() function. In particular, when including a binary treatment/control vector, I get the following error.

CellCycle = fitFactor(sclvm,geneSet = ens_ids_cc,XKnown = cell_binary, k=1,use_ard = F)

Error in python.exec(paste("X,K,Kint,varGPLVM_ARD = ", objName, ".fitFactor(idx=idx, X0=X0, k=k,standardize=standardize, use_ard=use_ard, interaction=interaction, initMethod=initMethod)", :
ufunc 'divide' output (typecode 'd') could not be coerced to provided output parameter (typecode 'l') according to the casting rule ''same_kind''

@jshaik1979
Copy link

Same issue, has this been fixed? This is where it fails for me:
th2 = fitFactor(sclvmMult, idx = idx_Th2, XKnown = Xcc, k = 1, interaction=TRUE)

@jkleinj jkleinj closed this as completed Mar 26, 2023
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

4 participants