unhashable type: 'Series'
Closed this issue · 7 comments
Hi! I'm very interesting in your powerful tool, and trying to apply it to my own data. But when i run the code in your tutolial :
fs.pp.construct_flows_from_cellchat(adata,
cellchat_output_key,
gem_expr_key = 'X_gem',
scale_gem_expr = True,
model_organism = 'human',
flowsig_network_key = 'flowsig_network',
flowsig_expr_key = 'X_flow')
it report that:
what's more, when i skip this code and try the next one , it en even report that:
is the version in your tutotial not the same as it in the repositort? and how to update it?
Looking forward to your reply, and hope anything goes well on you! ^^
Hi,
Thanks for your question! To respond to each of your questions:
-
It looks like you're running an older version of FlowSig. Could you try updating to the latest version in the GitHub repository and running
fs.pp.construct_Flows_from_cellchat
again? -
You're quite right, the tutorial to construct differentially flowing variables in the README.md is out of date. Apologies for this mistake! Instead of running
fs.pp.determine_informative_variables
, please run:
fs.pp.determine_differentially_flowing_vars(adata,
condition_key = condition_key,
control_key = 'CON',
flowsig_expr_key = 'X_flow',
flowsig_network_key = 'flowsig_network',
qval_threshold = 0.05,
logfc_threshold = 0.5)
I've updated the README.md to reflect this.
Hope these help!
Hi, i do install flowsig again, and the fs.pp.construct_flows_from_cellchat() don't report error anymore. But when i try to run the command fs.pp.determine_differentially_flowing_vars() as your reply, it says that:
maybe the version in your repositort is not the same as in your labs?
Looking forward to your reply, hope anything goes well on you~~ ^^
Another question is that how can we visulize the result as it in your paper? :)
Hi, i do install flowsig again, and the fs.pp.construct_flows_from_cellchat() don't report error anymore. But when i try to run the command fs.pp.determine_differentially_flowing_vars() as your reply, it says that: maybe the version in your repositort is not the same as in your labs? Looking forward to your reply, hope anything goes well on you~~ ^^
Hi, LJZYaaa, I'm having the same issue.
Have you solved this problem now?
Another question is that how can we visulize the result as it in your paper? :)
Not yet :) the author has been inactive in some time :)