Error in .plot_cnv_observations(infercnv_obj = infercnv_obj, obs_data = obs_data, : Error
Traceback:
1. .plot_cnv_observations(infercnv_obj = infercnv_obj, obs_data = obs_data,
. file_base_name = out_dir, do_plot = !is.na(output_format),
. write_expr_matrix = write_expr_matrix, write_phylo = write_phylo,
. output_filename_prefix = output_filename, cluster_contig = ref_contig,
. contigs = contigs, contig_colors = ct.colors[contigs], contig_labels = contig_labels,
. contig_names = contig_names, col_pal = custom_pal, contig_seps = col_sep,
. num_obs_groups = k_obs_groups, obs_annotations_groups = obs_annotations_groups,
. obs_annotations_names = obs_annotations_names, grouping_key_coln = grouping_key_coln[1],
. cluster_by_groups = cluster_by_groups, cnv_title = title,
. cnv_obs_title = obs_title, contig_lab_size = contig_cex,
. breaksList = breaksList_t, gene_position_breaks = gene_position_breaks,
. x.center = x.center, hclust_method = hclust_method, layout_lmat = force_layout[["lmat"]],
. layout_lhei = force_layout[["lhei"]], layout_lwid = force_layout[["lwid"]],
. useRaster = useRaster)
2. stop("Error")
3. .handleSimpleError(function (cnd)
. {
. watcher$capture_plot_and_output()
. cnd <- sanitize_call(cnd)
. watcher$push(cnd)
. switch(on_error, continue = invokeRestart("eval_continue"),
. stop = invokeRestart("eval_stop"), error = NULL)
. }, "Error", base::quote(.plot_cnv_observations(infercnv_obj = infercnv_obj,
. obs_data = obs_data, file_base_name = out_dir, do_plot = !is.na(output_format),
. write_expr_matrix = write_expr_matrix, write_phylo = write_phylo,
. output_filename_prefix = output_filename, cluster_contig = ref_contig,
. contigs = contigs, contig_colors = ct.colors[contigs], contig_labels = contig_labels,
. contig_names = contig_names, col_pal = custom_pal, contig_seps = col_sep,
. num_obs_groups = k_obs_groups, obs_annotations_groups = obs_annotations_groups,
. obs_annotations_names = obs_annotations_names, grouping_key_coln = grouping_key_coln[1],
. cluster_by_groups = cluster_by_groups, cnv_title = title,
. cnv_obs_title = obs_title, contig_lab_size = contig_cex,
. breaksList = breaksList_t, gene_position_breaks = gene_position_breaks,
. x.center = x.center, hclust_method = hclust_method, layout_lmat = force_layout[["lmat"]],
. layout_lhei = force_layout[["lhei"]], layout_lwid = force_layout[["lwid"]],
. useRaster = useRaster)))