You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I have converted my Seurat object integrated assay using SeuratDisk to anndata format, and want to run SCCAF. Data is loaded with no error using sc.read. However, when I run SCCAF_optimize_all I get the following warning and error:
anaconda3/lib/python3.7/site-packages/sklearn/metrics/classification.py:261: FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison
if np.all([l not in y_true for l in labels]):
ValueError: At least one label specified must be in y_true
It seems that the seurat cluster IDs (numbers starting from 0) are treated as scalar.
I was wondering if there is any solution on how to solve this and get the SCCAF_optimize_all to run.
Thanks
The text was updated successfully, but these errors were encountered:
Hi, I have converted my Seurat object integrated assay using SeuratDisk to anndata format, and want to run SCCAF. Data is loaded with no error using sc.read. However, when I run SCCAF_optimize_all I get the following warning and error:
anaconda3/lib/python3.7/site-packages/sklearn/metrics/classification.py:261: FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison
if np.all([l not in y_true for l in labels]):
ValueError: At least one label specified must be in y_true
It seems that the seurat cluster IDs (numbers starting from 0) are treated as scalar.
I was wondering if there is any solution on how to solve this and get the SCCAF_optimize_all to run.
Thanks
The text was updated successfully, but these errors were encountered: