broadinstitute / infercnv

Inferring CNV from Single-Cell RNA-Seq
Other
557 stars 164 forks source link

Error in heatmap.cnv(obs_data, Rowv = obs_dendrogram, Colv = FALSE, cluster.by.row = TRUE #608

Open Nisanity007 opened 11 months ago

Nisanity007 commented 11 months ago

I used inferCNV(1.14) and met the error below, I searched the issues, however, no exact resolution was found but 'cluster_by_groups = FALSE'.

Error in heatmap.cnv(obs_data, Rowv = obs_dendrogram, Colv = FALSE, cluster.by.row = TRUE, : 'RowIndividualColors' must be a character vector of length nrow(x) In addition: Warning messages: 1: In cbind(row_groupings, get_group_color_palette()(length(table(hcl_obs_annotations_groups)))[hcl_obs_annotations_groups]) : number of rows of result is not a multiple of vector length (arg 2) 2: In cbind(obs_annotations_names, get_group_color_palette()(length(table(hcl_obs_annotations_groups)))) : number of rows of result is not a multiple of vector length (arg 2) 3: In cbind(split_groups, row_groupings[, 1], hcl_obs_annotations_groups, : number of rows of result is not a multiple of vector length (arg 3

Could anyone give some advices? Thankyou.

GeorgescuC commented 10 months ago

Hi @Nisanity007 ,

I would first try updating to version 1.16 to see if that solves the issue. If that doesn't, could you post the commands you ran?

Regards, Christophe.

CCCBBG commented 7 months ago

Reduce grouping(celltype or clusters). Have a try