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

STEP 18 error #672

Open
lifan2022 opened this issue Aug 7, 2024 · 0 comments
Open

STEP 18 error #672

lifan2022 opened this issue Aug 7, 2024 · 0 comments

Comments

@lifan2022
Copy link

Hello, I encountered an error when using Infercnv

My code is :

options("Seurat.object.assay.version" = "v3")
options(scipen = 100)
infercnv_obj = infercnv::run(infercnv_obj,
cutoff=0.1,
out_dir='~/shengjing/result/1/CNV',
cluster_by_groups=FALSE,
analysis_mode="subclusters",
denoise=TRUE,
HMM=TRUE)
INFO [2024-08-07 18:29:08]

My error is :

STEP 18: Run Bayesian Network Model on HMM predicted CNVs

INFO [2024-08-07 18:29:08] Initializing new MCM InferCNV Object.
INFO [2024-08-07 18:29:08] validating infercnv_obj
INFO [2024-08-07 18:29:26] Total CNV's: 169972
INFO [2024-08-07 18:29:26] Loading BUGS Model.
Error in rep(NA, max(unlist(obj@observation_grouped_cell_indices))) :
invalid 'times' argument
In addition: Warning message:
In max(unlist(obj@observation_grouped_cell_indices)) :
no non-missing arguments to max; returning -Inf

My version of infercnv is 1.16.0

I don't know how to deal with this problem, I hope you can help me.

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

1 participant