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

chmNewColorMap: number of values (752) does not equal number of color (723). It should. #650

Open
mayan2009 opened this issue Mar 29, 2024 · 0 comments

Comments

@mayan2009
Copy link

Hi I am runing infercnv and want to visualize using NGCHM, my code is like this:
library(NGCHM)
library(infercnvNGCHM)
infercnv_obj<-readRDS("./cnv/run.final.infercnv_obj")
ngchm(infercnv_obj = infercnv_obj,
out_dir = "./cnv",
path_to_shaidyMapGen = "ShaidyMapGen.jar",
gene_symbol = "bio.gene.hugo")
the output is like
INFO [2024-03-29 20:30:06] Creating NGCHM as infercnv.ngchm
INFO [2024-03-29 20:30:06] Initializing new NGCHM InferCNV Object.

and I got this error
Error in NGCHM::chmNewColorMap(values = as.vector(dendrogram_unique_group), :
chmNewColorMap: number of values (752) does not equal number of color (723). It should.
Calls: ngchm ... setRowCovariateBar -> setRowCovariateBar ->
Execution halted
Could someone help to see what happened? I continuously got this error for different datasets.

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