Skip to content

Error in hclust(get_dist(submat, distance), method = method) : size cannot be NA nor exceed 65536 #1262

Description

@isamiq4

Hello,

I am trying to do a Heatmap with my methylation data. I know I have a big dataset: 111,940 rows, and some columns contains N/A values, as expected.

However, I am not able to do it. I installed fastcluster, as I read that it worked for some people with the same error, but not for me. Any idea of what to do?

This is the message that I had:

_Attaching package: ‘fastcluster’

The following object is masked from ‘package:stats’: hclust

use_raster is automatically set to TRUE for a matrix with more than
2000 rows. You can control use_raster argument by explicitly setting
TRUE/FALSE to it.

Set ht_opt$message = FALSE to turn off this message.
'magick' package is suggested to install to give better rasterization.

Set ht_opt$message = FALSE to turn off this message.

Error in hclust(get_dist(submat, distance), method = method) :
size cannot be NA nor exceed 65536

Calls: draw ... make_row_cluster -> .local -> make_cluster -> hclust
Execution halted_

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions