rnabioco / clustifyr

Infer cell types in scRNA-seq data using bulk RNA-seq or gene sets
https://rnabioco.github.io/clustifyr/
MIT License
103 stars 14 forks source link

error with wrapper `clustify` when given object and vector for metadata #372

Closed raysinensis closed 3 years ago

raysinensis commented 3 years ago
library(clustifyr)
#> Warning: package 'clustifyr' was built under R version 4.0.3
               clustify(
         input = s_small3,
         metadata = s_small3@meta.data$RNA_snn_res.1,
     ref_mat = cbmc_ref,
        seurat_out = TRUE
     )
#> cannot find dr info
#> Error in expr_mat[gene_constraints, , drop = FALSE]: invalid or not-yet-implemented 'Matrix' subsetting

Created on 2020-11-04 by the reprex package (v0.3.0)