dputhier / scigenex

This repository stores the scigenex R library.
Other
4 stars 2 forks source link

top_genes / cluster_set_from_seurat #114

Closed dputhier closed 1 year ago

dputhier commented 1 year ago
    library(SeuratObject)
    library(Seurat)
    data("pbmc_small", package="SeuratObject")
    cs <- cluster_set_from_seurat(pbmc_small, Seurat::FindAllMarkers(pbmc_small))
    cs <- top_genes(cs)

    Error in base::colMeans(x, na.rm = na.rm, dims = dims, ...) : 
            'x' must be an array of at least two dimensions
dputhier commented 1 year ago

@mchainavail This should fix your issue. Best