Hello! I am a student currently studying single-cell genomics and have been deeply impressed by your excellent model.
I tried following the vignettes/SPOTlight_kidney.Rmd that you posted, but encountered an error.
Here is the code I used:
mod_ls <- trainNMF(
x = sce,
y = spe,
groups = sce$type,
mgs = mgs,
weight_id = "weight",
group_id = "type",
gene_id = "gene"
)
And here is the error message I received:
Error in trainNMF(x = sce, y = spe, groups = sce$type, mgs = mgs, weight_id = "weight", :
ids %in% names(mgs) are not all TRUE
In addition: Warning message:
In max(table(mgs[[group_id]])) :
no non-missing arguments to max; returning -Inf
Could you advise on how to resolve this issue?
I look forward to your response. Thank you!
Hello! I am a student currently studying single-cell genomics and have been deeply impressed by your excellent model.
I tried following the vignettes/SPOTlight_kidney.Rmd that you posted, but encountered an error.
Here is the code I used:
mod_ls <- trainNMF(
x = sce,
y = spe,
groups = sce$type,
mgs = mgs,
weight_id = "weight",
group_id = "type",
gene_id = "gene"
)
And here is the error message I received:
Error in trainNMF(x = sce, y = spe, groups = sce$type, mgs = mgs, weight_id = "weight", :
ids %in% names(mgs) are not all TRUE
In addition: Warning message:
In max(table(mgs[[group_id]])) :
no non-missing arguments to max; returning -Inf
Could you advise on how to resolve this issue?
I look forward to your response. Thank you!