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

runHotspot #123

Open
snguyen268 opened this issue Mar 22, 2023 · 0 comments
Open

runHotspot #123

snguyen268 opened this issue Mar 22, 2023 · 0 comments

Comments

@snguyen268
Copy link

Hi all,

I am trying to execute runHotspot on my Vision object but run into this error:

Error in py_call_impl(callable, dots$args, dots$keywords) :
TypeError: init() got an unexpected keyword argument 'latent'

Any suggestion on how I might be able to fix this? Thanks so much!

This is what I got when running traceback():
5: stop(structure(list(message = "TypeError: init() got an unexpected keyword argument 'latent'\n",
call = py_call_impl(callable, dots$args, dots$keywords),
cppstack = structure(list(file = "", line = -1L, stack = c("1 reticulate.so 0x0000000115487a6e _ZN4Rcpp9exceptionC2EPKcb + 222",
"2 reticulate.so 0x0000000115490b75 _ZN4Rcpp4stopERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE + 53",
"3 reticulate.so 0x00000001154a4787 Z12py_call_impl11PyObjectRefN4Rcpp6VectorILi19ENS0_15PreserveStorageEEES3 + 1143",
"4 reticulate.so 0x0000000115477e11 _reticulate_py_call_impl + 193",
"5 libR.dylib 0x0000000109f31292 R_doDotCall + 1458",
"6 libR.dylib 0x0000000109f7c40d bcEval + 104317",
"7 libR.dylib 0x0000000109f625e1 Rf_eval + 385",
"8 libR.dylib 0x0000000109f82459 R_execClosure + 2169",
"9 libR.dylib 0x0000000109f81247 Rf_applyClosure + 471",
"10 libR.dylib 0x0000000109f6952e bcEval + 26782",
"11 libR.dylib 0x0000000109f625e1 Rf_eval + 385",
"12 libR.dylib 0x0000000109f82459 R_execClosure + 2169",
"13 libR.dylib 0x0000000109f81247 Rf_applyClosure + 471",
"14 libR.dylib 0x0000000109f6952e bcEval + 26782",
"15 libR.dylib 0x0000000109f625e1 Rf_eval + 385",
"16 libR.dylib 0x0000000109f82459 R_execClosure + 2169",
"17 libR.dylib 0x0000000109f81247 Rf_applyClosure + 471",
"18 libR.dylib 0x0000000109f6952e bcEval + 26782",
...
4: py_call_impl(callable, dots$args, dots$keywords)
3: hotspot$Hotspot(exprData, latent = as.data.frame(object@LatentSpace),
model = model)
2: hsInit(object, model, tree, num_umi, logdata)
1: runHotspot(Tcell_vision, model = "danb",
min_gene_threshold = 10)

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