-
Notifications
You must be signed in to change notification settings - Fork 113
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
Cannot use expressed_genes_receiver
with assay_oi = 'SCT'
#39
Comments
Hi @jaquol, I would suggest setting |
Hi @browaeysrobin, Thank you for your quick reply! I am afraid that |
Hi @browaeysrobin, I thought that I might be able to overcome the issue above by deleting the "SCT" and/or "integrated" assays. Inspired by this, I deleted both the "SCT" and "integrated" assays with:
Unlike previously, this way I do not get any warning when running the
My questions are then:
Thank you! |
Hi @jaquol Deleting the SCT and integrated assays is only a temporary solution to this error of course. The selection of which slot (RNA/SCT/integrated) in this |
I started implementing the NicheNet code to my sc dataset and I wanted to report the same issue. Switching the argument to
In my case, the integrated gene list is a lot smaller so I d rather use the RNA assay to have a bigger expressed gene list. If deleting the integrated slot works for some people, I would do it, but of course, an alternative would be more preferable. Thanks in advance, |
Hi @tkapello Is it possible you loaded the |
|
Hi @tkapello I also was able to replicate the error you both mentioned here above if So: I don't think there is an issue if you do the following
Here, Assays should be used from Seurat.
In the near future, I will change the underlying code to avoid these conflicts such that the order in which you load the packages should not matter. |
I tried the order of the packages you suggested, but the error remains:
Does the Seurat object need to be loaded as a .rds? I load a class Seurat object from my environment. |
Hi @tkapello Could you once try this to see whether this resolves the issue? |
I tried everything you suggested and still I get the same error :-(
|
Hi @tkapello Could you try to
|
I uninstalled and re-installed
As you requested, my SessionInfo():
|
Hi @tkapello It seems that your Seurat version is not the most recent. Could you try to reinstall the newest version? |
you were right, it was the Seurat version. There was no |
I am trying to run nichenetr on a Seurat object resulting from the Seurat integration workflow. When I first try to determine which genes are expressed with:
I get this warning:
My reasoning was then to use the SCT assay instead with:
But then I get this error:
I looked into the
get_expressed_genes
code and I narrowed the error to this part:!assay_oi %in% Assays(seurat_obj)
cannot be assessed because, I understand, a vector is expected but the output ofAssays(seurat_obj)
is a list.My first question is whether my reasoning of forcing the use of the SCT assay is correct.
My second question is if you could please help in overcoming the issue here reported.
Thank you in advance!
Javier
The text was updated successfully, but these errors were encountered: