Skip to content

Working with large matrices #1

@malosreet

Description

@malosreet

Hello,

I am interested in using scConsensus to combine supervised (Seurat label transfer) and unsupervised (Seurat graph-based clustering) results into a consensus clustering.

I have run into two issues. Firstly, when trying to run reclusterDEConsensus, I received a "problem too large" error. I suspect that this may be because of a step in the function which converts the sparse matrix to a dense matrix before differential gene expression analysis. I worked around this issue by inputting a subset of the most variable genes (10,000 out of ~30,000 genes) into the reclusterDEConsensus function. This solution seems to have circumvented this particular problem.

Currently, I am getting another error generated later in the processing by hclust, as follows:

Error in stats::hclust(d, method = "ward.D2") :
  size cannot be NA nor exceed 65536

This is most likely because there are around 80000 cells in my matrix which is over the limit of 65536.

I was wondering if you have any suggestions for scaling up your functions for my dataset.

Thank you!

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