lazappi / clustree

Visualise Clusterings at Different Resolutions
https://lazappi.github.io/clustree/
GNU General Public License v3.0
215 stars 15 forks source link

Error: Less than two column names matched the prefix: SCT_snn_res. #90

Closed lc-hhh closed 1 year ago

lc-hhh commented 1 year ago

clustree(tissue,prefix = "SCT_snn_res.",assay = "SCT") Error: Less than two column names matched the prefix: SCT_snn_res.

but when I run following statement there is no problem tissue <- FindClusters(tissue, resolution = c(0.1,0.4,0.6))

I just want to see the clustering of different resolutions, does anyone know how to solve this problem?

lazappi commented 1 year ago

This happens when the columns from the clustering don't match the prefix you have set. Please see #51, #86.