dylkot / cNMF

Code and example data for running Consensus Non-negative Matrix Factorization on single-cell RNA-Seq data
MIT License
243 stars 57 forks source link

K_Selection_Plot Error #60

Closed Sayyam-Shah closed 1 year ago

Sayyam-Shah commented 1 year ago

Hello @dylkot,

I hope you are doing well. I am encountering an error when computing the k_selection_plot after running NMF. I am inputting raw and normalized counts using the counts and tpm slots. The dataset contains 583 cells.

What may be the reason for this error? ValueError: Number of labels is 1. Valid values are 2 to n_samples - 1 (inclusive)

Best Regards, Sayyam