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
Beginning Analysis
Computing a latent space for expression data...
Determining projection genes...
Applying Threshold filter...removing genes detected in less than 250 cells
Genes Retained: 2679
Applying Fano filter...removing genes with Fano < 2.0 MAD in each of 30 bins
Genes Retained: 500
Clustering cells...completed
Projecting data into 2 dimensions...
Running method 1/1: tSNE30 ...
Evaluating signature scores on cells...
Creating 0 background signature groups with the following parameters:
sigSize sigBalance
signatures per group: 3000
Computing KNN Cell Graph in the Latent Space...
Evaluating local consistency of signatures in latent space...
|================================================================================| 100%, Elapsed 00:00
Error in data.frame(C = consistency, pValue = pvals, FDR = fdr) :
arguments imply differing number of rows: 1, 0
Hello,
Thanks for posting this issue -- can you please provide a minimal
reproducible example and the script you used to launch this analysis? We'll
need this information to help pinpoint the issue.
Thanks!
@mattjones315
Hi. I have found the problem. Since vision asks gmt file but I do not have it before so I converted GSEABSE::geneset into gene signature needed by VISION with mistakes.
"Error in data.frame(C = consistency, pValue = pvals, FDR = fdr) :
arguments imply differing number of rows: 1, 0
In addition: Warning message:
In readSignaturesInput(signatures) : NAs introduced by coercion"
I also get this error when running scMetabolism, Could you provide a solution?
Apologies for the very delayed response to this issue, I somehow missed this a while back. We support a very flexible way for adding signatures through the createGeneSignature function which takes in a list of gene names. You can read more about this on our vignette here. I believe this will be flexible enough to handle work with geneset objects.
@Immugent I'll need a minimal working example to help you on this. I'm also unaware of what scMetabolism is, I've never tried working with it and VISION. However, in the times I've seen this error, it's often because of a NAs in the meta data / signature scores. Happy to help if you can provide more information about the data and code used to generate this error.
Activity
mattjones315 commentedon Sep 25, 2021
duocang commentedon Sep 25, 2021
@mattjones315
Hi. I have found the problem. Since vision asks gmt file but I do not have it before so I converted GSEABSE::geneset into gene signature needed by VISION with mistakes.
I now create singatures:
Maybe you can provide an option to use GSEABASE::geneset? It is not easy to use if a local file is always needed.
Immugent commentedon Jan 14, 2022
"Error in data.frame(C = consistency, pValue = pvals, FDR = fdr) :
arguments imply differing number of rows: 1, 0
In addition: Warning message:
In readSignaturesInput(signatures) : NAs introduced by coercion"
I also get this error when running scMetabolism, Could you provide a solution?
mattjones315 commentedon Jan 14, 2022
Hi @duocang ,
Apologies for the very delayed response to this issue, I somehow missed this a while back. We support a very flexible way for adding signatures through the
createGeneSignaturefunction which takes in a list of gene names. You can read more about this on our vignette here. I believe this will be flexible enough to handle work withgenesetobjects.@Immugent I'll need a minimal working example to help you on this. I'm also unaware of what scMetabolism is, I've never tried working with it and VISION. However, in the times I've seen this error, it's often because of a NAs in the meta data / signature scores. Happy to help if you can provide more information about the data and code used to generate this error.
Immugent commentedon Jan 16, 2022
scMetabolism adopts the VISION method in its process. I already know the reason for this error is because scMetabolism only works with human data.
hujiaoxueba commentedon Aug 24, 2022
Hi, do you know how to get the scMetabolism work with mouse data?
Immugent commentedon Aug 26, 2022
I have asked the author and the analysis of mouse data is not currently supported.