raivokolde / pheatmap

Pretty heatmaps
225 stars 83 forks source link

Error in hclust(d, method = method) : size cannot be NA nor exceed 65536 Calls: pheatmap -> cluster_mat -> hclust Execution halted #57

Open hygine opened 5 years ago

hygine commented 5 years ago

Error in hclust(d, method = method) : size cannot be NA nor exceed 65536 Calls: pheatmap -> cluster_mat -> hclust Execution halted

my data has NA, and raw number is 74789, but sometimes I run the same num of data could success, why? @raivokolde @antoine-lizee @taunometsalu

--show_rownames TRUE --show_colnames FALSE --cluster_rows TRUE --cluster_cols TRUE

pheatmap(data, scale=opt$scale,height=7, width=14, color=color.set[[opt$color.type]], 
        show_rownames=opt$show_rownames, show_colnames=opt$show_colnames,border_color=NA,
        cluster_rows=opt$cluster_rows, cluster_cols=opt$cluster_cols,fontsize_row=10,
        filename=paste(opt$outfile,".pdf",sep=""))