Skip to content

Commit

Permalink
Plot proportion on boxplot
Browse files Browse the repository at this point in the history
  • Loading branch information
sminot committed Feb 16, 2024
1 parent 6fce296 commit 96128cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/plot_metagenomes.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def plot(self, meta_cname, output_folder):

# Boxplot comparing gene bin abundances by sample group
self.box(
self.adata.to_df().reindex(index=sample_order),
self.adata.to_df("prop").reindex(index=sample_order),
self.adata.obs[meta_cname].reindex(index=sample_order),
meta_cname,
"Gene Bin Abundance",
Expand Down

0 comments on commit 96128cc

Please sign in to comment.