From 4c5a492cd92dbaa8c74b290f93914c8761fae9c4 Mon Sep 17 00:00:00 2001 From: Benjamin Rombaut Date: Sat, 7 Sep 2024 22:31:14 +0200 Subject: [PATCH] fix for louise --- book/in_memory_interoperability.qmd | 6 ------ 1 file changed, 6 deletions(-) diff --git a/book/in_memory_interoperability.qmd b/book/in_memory_interoperability.qmd index 8bb2142..5c13cd2 100644 --- a/book/in_memory_interoperability.qmd +++ b/book/in_memory_interoperability.qmd @@ -254,12 +254,6 @@ pb_obs <- adata$obs[c("sm_name", "cell_type", "plate_name", "well", "plate_well_ pb_obs <- pb_obs[!duplicated(pb_obs), ] ``` -```{python pb_obs} -pb_obs = adata.obs[["sm_name", "cell_type", "plate_name", "well"]].copy() -pb_obs.index = adata.obs["plate_well_celltype_reannotated"] -pb_obs = pb_obs.drop_duplicates() -``` - Create AnnData object: ```{r pb_anndata}