ValueError: need at least one array to concatenateΒ #7
Closed
Description
Hi,
I am trying to use infercnvpy on my single-cell dataset, but when I run:
cnv.tl.infercnv(
adata,
reference_key="leiden_1.0",
reference_cat='12',
)
I get the error message: ValueError: need at least one array to concatenate.
When I run:
adata.var.loc[:, ["gene_ids", "chromosome", "start", "end"]].head()
I can see that these columns were successfully added to adata.var
When I run:
adata.obs.head()
I can see that there is a column, 'leiden_1.0' with clusters numbered '0'-'16'.
I'm not sure what this error message means or what I can do differently to fix it.
Thank you
Metadata
Assignees
Labels
No labels