Skip to content
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

Error in ICM.EM(XList, q, K, AdjList = AdjList, beta_grid = beta_grid, : ncols of XList's components must be the same! #19

Open
1667857557 opened this issue Feb 26, 2024 · 1 comment

Comments

@1667857557
Copy link

Hi,
Thank you for this great work!
We encountered a problem when using the dataset from https://datadryad.org/stash/dataset/doi:10.5061/dryad.h70rxwdmj, we tried to combine 17 different GBM samples, however, the software reports the error:

> PRECASTObj <- PRECAST(PRECASTObj, K = 16)
Error in ICM.EM(XList, q, K, AdjList = AdjList, beta_grid = beta_grid,  : 
  ncols of XList's components must be the same!

Here is our code, can you give me some advice? I appreciate any help you can provide.

preobj <- CreatePRECASTObject(seuList = bc2, project = "GBM", selectGenesMethod = "HVGs", gene.number = 2000)
PRECASTObj <- AddAdjList(PRECASTObj, platform = "Visium")
PRECASTObj <- AddParSetting(PRECASTObj, Sigma_equal = FALSE, verbose = TRUE, maxIter = 30)
PRECASTObj <- PRECAST(PRECASTObj, K = 16)

Huang

@feiyoung
Copy link
Owner

You could try:
PRECASTObj <- CreatePRECASTObject(seuList = bc2, project = "GBM", selectGenesMethod = "HVGs", gene.number = 2000)
PRECASTObj <- AddAdjList(PRECASTObj, platform = "Visium")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants