-
Notifications
You must be signed in to change notification settings - Fork 2
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
problem with SelectTFs #23
Comments
Hi again objG[['RNA']] <- as(objG[['RNA']], Class = 'Assay5') I have a different error message: no motifs name in this Assay5 object. The problem arises only when I transform the ATAC assay in Assay5, not when I keep a "ChromatinAssay" class, but sadly then I have the "GetAssayData()`: |
If ever it can help someone, here is what I did : objG[['SoupXRNA']] <- as(objG[['SoupXRNA']], Class = 'Assay5') objG[['ATAC']] <- as(objG[['ATAC']], Class = 'ChromatinAssay') objG[['chromvar']] <- as(objG[['chromvar']], Class = 'ChromatinAssay') Class = 'ChromatinAssay is necessary to keep the motif names then I copied the selectTFs function to run if in the rstudio interface directly with some modifications:
and It seems to work fine |
Hi @Dalhte Sorry for my late reply and glad that you found a solution. Indeed, the Seurat v5 has uplated many APIs, and I need some time to update scMEGA to keep them compatible. |
Hi @lzj1769 Best |
Hello! Many thanks for the tool, |
Hello there
I'm tryingto run ScMega on 10X multiome RNA+ATAC data obtained in Rats tissus. When I run the :
res <- SelectTFs(object = objG,
tf.assay = "chromvar",
rna.assay = "RNA",
atac.assay = "ATAC",
trajectory.name = "Trajectory",
return.heatmap = TRUE,
cor.cutoff = 0.1)
I get
Avis : No layers found matching search pattern provided
Error in
GetAssayData()
:! No layers are found
Here are the backtrace :
Backtrace:
▆
Can you help me, please ? Is it because I'm working with the rat genome? Or is it something else entirely?
Best
David
The text was updated successfully, but these errors were encountered: