-
Notifications
You must be signed in to change notification settings - Fork 14
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
All values in fraction_expressing_ligand_receptor column in prioritization_table_oi are 0 #23
Comments
Hi @catsargent This is indeed the reason that But, I have currently no idea why all values of Can you run: Do you have this issue on one specific dataset? on all the datasets you applied MultiNicheNet on? on the vignette data as well? |
Thank you for getting back to me. I ran the command you specified above on our dataset and got the following output:
I will check what happens with the vignette data too. |
Hi @catsargent Can you show me the warnings, error messages, output of
Can you also share your |
Hi, There were no warnings as such when running the above code:
However, comparing it to the output generated using the vignette data (see below), I noticed that there are no gene names. So presumably this could be the issue? The counts assay in my sce object includes the gene names.
And here is my session info:
|
Hi @catsargent This problem seems to be due to an issue with using muscat::calcExprFreqs on your input. I can't think of a potential reason why it fails that way for your data. You can file an issue with muscat, but I am considering reimplementing this function. |
Hi @browaeysrobin, I tracked back the error and realised that it was due to my sce object not having the counts dimnames set. I am therefore closing this issue. Thanks for your help. |
Hi,
This is related to #22
No results are returned when running
get_top_n_lr_pairs
. It seems that the reason for this is because in the tableprioritization_tbl_oi
all of the values in thefraction_expressing_ligand_receptor
column are 0.Similarly, in the same table, the columns for
fraction_receptor_group
andfraction_ligand_group
also contain only 0s. Do you know why this might be? I saw in expression_processing.R that there is a function calledfix_frq_df
whichfixes a muscat-bug in fraction calculation in case that expression fraction would be NA / NaN. Change NA to 0
. Could this be related? If so, any ideas on a workaround so that I can proceed with the anlaysis? We're really keen to apply mnn to our data!Thanks for your help.
Catherine
The text was updated successfully, but these errors were encountered: