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
hi,
I encountered an error when running the ConstructNetwork() function: Error in apply(scoreAll[modGenes[candidates], ], 1, which.max) : dim(X) must have a positive length
Could it be because modGenes[candidates] is empty in my data? How should I adjust the previous data processing steps to make it run successfully? Although my Seurat object was converted from a Python AnnData object, I have completed the necessary preprocessing steps, including normalization. Additionally, my Seurat object already contains clustering results.
Error in apply(scoreAll[modGenes[candidates], ], 1, which.max) : dim(X) must have a positive length
Looking forward to your advice; it will be of great help to me.
Thank you so much!
The text was updated successfully, but these errors were encountered:
hi,
I encountered an error when running the ConstructNetwork() function:
Error in apply(scoreAll[modGenes[candidates], ], 1, which.max) : dim(X) must have a positive length
Could it be because modGenes[candidates] is empty in my data? How should I adjust the previous data processing steps to make it run successfully? Although my Seurat object was converted from a Python AnnData object, I have completed the necessary preprocessing steps, including normalization. Additionally, my Seurat object already contains clustering results.
Error in apply(scoreAll[modGenes[candidates], ], 1, which.max) : dim(X) must have a positive length
Looking forward to your advice; it will be of great help to me.
Thank you so much!
The text was updated successfully, but these errors were encountered: