diff --git a/omicverse/pl/_cpdb.py b/omicverse/pl/_cpdb.py index 42f3d9fb..65cb507a 100644 --- a/omicverse/pl/_cpdb.py +++ b/omicverse/pl/_cpdb.py @@ -540,12 +540,12 @@ def cpdb_group_heatmap(adata, source_gene_pd=pd.DataFrame(index=cor.index) for source_cell in source_cells: - source_gene_pd[source_cell]=adata[adata.obs['cell_labels']==source_cell, + source_gene_pd[source_cell]=adata[adata.obs[celltype_key]==source_cell, [i.split('_')[0] for i in cor.index]].to_df().mean().values target_gene_pd=pd.DataFrame(index=cor.index) for target_cell in target_cells: - target_gene_pd[target_cell]=adata[adata.obs['cell_labels']==target_cell, + target_gene_pd[target_cell]=adata[adata.obs[celltype_key]==target_cell, [i.split('_')[1] for i in cor.index]].to_df().mean().values cor=pd.concat([source_gene_pd,target_gene_pd],axis=1) diff --git a/omicverse_guide/docs/Release_notes.md b/omicverse_guide/docs/Release_notes.md index 7615416b..6db2ce3e 100644 --- a/omicverse_guide/docs/Release_notes.md +++ b/omicverse_guide/docs/Release_notes.md @@ -414,3 +414,13 @@ Support Raw Windows platform - Fixed an error of `ov.pp.pca` when pcs smaller than 13. #102 - Added `COMPOSITE` in `ov.pp.qc`'s method to predicted doublet cells. #103 - Added `species` argument in `score_genes_cell_cycle` to calculate the cell phase without gene manual input + +## v 1.6.6 + +### Pl Module + +- Fixed the 'celltyep_key' error of `ov.pl.cpdb_group_heatmap` #109 + +### Bulk Module + +- Fiexed an key error in `ov.bulk.Matrix_ID_mapping` \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index e9d43122..f1bac8e1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "flit_core.buildapi" [project] name = "omicverse" -version = "1.6.5" +version = "1.6.6" description = "OmicVerse: A single pipeline for exploring the entire transcriptome universe" readme = "README.md" requires-python = ">=3.8"