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.
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.