You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
R crashes after analyze(vision) - fitting ... #119
Thanks for posting this issue - from the code example, everything looks fine.
I have indeed experienced this issue myself before, and I believe it has to do with the external package that's used to fit the GMM (mclust). From the previous times I've looked into it, the issue has generally been with the cluster environment: specifically, that the shared libraries currently in use were different from those used to build R or mclust. The problem and answers in this post describes the issue more in depth.
I apologize for not being of more help here. But if you find that this is certainly not an issue with your environment but rather the VISION package I'm happy to take a deeper look into it with you.
Thank you for the wonderful package. I have encountered this error and not sure what is happening. Am I doing it right?
library(VISION) #load the seurat object : sobj library(fgsea) hallmark_pathway <- gmtPathways("/path/h.all.v7.0.symbols.gmt.txt") DefaultAssay(sobj) <- "RNA" vis <- Vision(sobj,signatures = hallmark_pathway)
Error: Importing counts from obj[["RNA"]]@counts ... Normalizing to counts per 10,000... Importing Meta Data from [email protected] ... Importing latent space from Embeddings(obj, "pca") using first 30 components Loading data from JUNB ... Error in readSignaturesInput(sig) : Cannot find file: JUNB
DefaultAssay(sobj) <- "RNA" vis <- Vision(sobj,signatures =signature) Importing counts from obj[["RNA"]]@counts ... Normalizing to counts per 10,000... Importing Meta Data from [email protected] ... Importing latent space from Embeddings(obj, "pca") using first 30 components Loading data from HALLMARK_HYPOXIA ... Error in readSignaturesInput(sig) : Cannot find file: HALLMARK_HYPOXIA
On Fri, Aug 18, 2023, 10:25 AM apal6 ***@***.***> wrote:
Thank you for quick response.
I tried it and now there's a new error
DefaultAssay(sobj) <- "RNA" vis <- Vision(sobj,signatures =signature)
Importing counts from ***@***.*** ... Normalizing to counts per
10,000... Importing Meta Data from ***@***.*** ... Importing latent
space from Embeddings(obj, "pca") using first 30 components Loading data
from HALLMARK_HYPOXIA ... Error in readSignaturesInput(sig) : Cannot find
file: HALLMARK_HYPOXIA
—
Reply to this email directly, view it on GitHub
<#119 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEGXRYYCNOS6QJVIRX7Y53XV6QRXANCNFSM5YX2KZOQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
Activity
mattjones315 commentedon Jun 14, 2022
Hi Raphael,
Thanks for posting this issue - from the code example, everything looks fine.
I have indeed experienced this issue myself before, and I believe it has to do with the external package that's used to fit the GMM (
mclust). From the previous times I've looked into it, the issue has generally been with the cluster environment: specifically, that the shared libraries currently in use were different from those used to build R ormclust. The problem and answers in this post describes the issue more in depth.I apologize for not being of more help here. But if you find that this is certainly not an issue with your environment but rather the VISION package I'm happy to take a deeper look into it with you.
Thanks,
Matt
apal6 commentedon Aug 18, 2023
Hi,
Thank you for the wonderful package. I have encountered this error and not sure what is happening. Am I doing it right?
library(VISION) #load the seurat object : sobj library(fgsea) hallmark_pathway <- gmtPathways("/path/h.all.v7.0.symbols.gmt.txt") DefaultAssay(sobj) <- "RNA" vis <- Vision(sobj,signatures = hallmark_pathway)Error:
Importing counts from obj[["RNA"]]@counts ... Normalizing to counts per 10,000... Importing Meta Data from [email protected] ... Importing latent space from Embeddings(obj, "pca") using first 30 components Loading data from JUNB ... Error in readSignaturesInput(sig) : Cannot find file: JUNBCan you help?
Thank you so much!
deto commentedon Aug 18, 2023
@apal6 don't load the signatures with 'gmtPathways' first. Instead, just pass the file path to Vision. e.g.
apal6 commentedon Aug 18, 2023
Thank you for quick response.
I tried it and now there's a new error
DefaultAssay(sobj) <- "RNA" vis <- Vision(sobj,signatures =signature) Importing counts from obj[["RNA"]]@counts ... Normalizing to counts per 10,000... Importing Meta Data from [email protected] ... Importing latent space from Embeddings(obj, "pca") using first 30 components Loading data from HALLMARK_HYPOXIA ... Error in readSignaturesInput(sig) : Cannot find file: HALLMARK_HYPOXIAdeto commentedon Aug 18, 2023
apal6 commentedon Aug 18, 2023
signatures <- read_tsv("/path/h.all.v7.0.symbols.gmt.txt") head(signatures) DefaultAssay(sobj) <- "RNA" vis <- Vision(sobj,signatures=signatures)deto commentedon Aug 18, 2023
no, there you are using read_tsv. You need to pass the file path directly into the Vision function, the way I showed. Use this command:
apal6 commentedon Aug 18, 2023
Got it! Thank you, that worked