-
Notifications
You must be signed in to change notification settings - Fork 21
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
Getting an error in liana multi df_to_lr #84
Comments
Hi @ndrubins, is your dataset with human gene symbols? If yes then this might indeed be a bug, and in that case I might need a small subset of your data to debug. Daniel |
Hi Daniel, Thanks a lot for the quick response. My data are originally from mouse, but prior to running Here's the code I'm running
Which produces the error in my first post. Happy to send you a subset of the data - let me know how and what. Thanks! |
Hi @ndrubins, Yeah, your input and data format look correct. You can send a link to e.g. google drive or figshare with a subset to daniel.dimitrov (аt) uni-heidelberg.de. I'll do my best to address the issue ASAP. Daniel |
Hi @ndrubins, Thanks for sharing the data. I found a couple of issues.
Other than that your data worked on liana v1.0.4 (latest on pip). Hope this helps. |
Thanks a lot. I'm still having one issue with the What I'm reading in (from the
How should I index it so that it's correctly formatted for Thanks a lot |
Hi @ndrubins, Better to export it as csv from R to ensure there are no buggy columns (in the one that you shared cell abbr was bugged). Other than that you need to have the gene symbols your index, and it should work. |
Thanks a lot. |
Hi @dbdimitrov, Sorry to bother you again. I'm trying to run
I have a feeling it's an indexing issue because I'm getting the same error if I use this OminPath consensus ligand,receptor dataframe:
I obtained this
Any idea? Thanks |
Hi @ndrubins, it looks correct from what you're showing. I also tried passing an external resource to the function and it worked for me. Can you also show how does the dea_df look like? And adata.var? Thanks |
Of course.
And this is the complete output I'm getting when running it with
Thanks |
Hey @ndrubins, overall it looks okay. Only
Something is not matching and it's likely a formatting issue, let's see where :) if both of these look okay, then I guess you could share a subset and I can debug :) |
Thanks a lot for the quick response. The intersections seem fine to me:
Just sent you an email with a gdrive link to the data. Thanks! |
Hi @ndrubins, It seems like the issue is that you have no overlapping cell types between I will make sure to add a check for this in the next LIANA+ update. :)
Hope this helps. |
So sorry for having bothered you with my own bugs and thanks a lot for helping. |
No worries 😉 |
Hi,
I'm trying to follow the Differential Expression Analysis for CCC & Downstream Signalling Networks["https://liana-py.readthedocs.io/en/latest/notebooks/targeted.html"] tutorial. I've created my own
dea_df
and not all genes in my dataset appear in thedea_df
for each of the cell types (some get dropped out due to missing samples etc').The
var
andX
slots in the dataset are sorted and so are the genes indea_df
(per each cell type), but when I run thedf_to_lr
command:I get this error:
My question is if I'm getting this error because my 13,062 gene dataset is missing too many resource genes? If so which argument controls the minimal accepted overlap proportion (seems from the error message that the default is 0.98 but which argument changes that?)
Thanks
The text was updated successfully, but these errors were encountered: