Skip to content

Commit

Permalink
Rename celltypist column
Browse files Browse the repository at this point in the history
  • Loading branch information
nictru committed Jan 29, 2024
1 parent c1467f7 commit e0b8d3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/annotate_celltypist.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@
adata.obs.index, ["predicted_labels", "conf_score"]
]

df_celltypist.columns = ["celltypist_prediction", "celltypist_confidence"]
df_celltypist.columns = ["cell_type:celltypist", "celltypist_confidence"]

df_celltypist.to_pickle(args.output.name)
2 changes: 1 addition & 1 deletion bin/celltypist_majority.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

df_celltypist = df_celltypist.reindex(clustering.index)

predictions = df_celltypist["celltypist_prediction"]
predictions = df_celltypist["cell_type:celltypist"]

majority_key = args.clustering_key + "_celltypist_majority"

Expand Down

0 comments on commit e0b8d3f

Please sign in to comment.