Skip to content

Commit

Permalink
Change ordering of dada stats stacked bar charts
Browse files Browse the repository at this point in the history
  • Loading branch information
tillenglert committed Aug 4, 2023
1 parent 1cce75f commit aa98524
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions assets/report_template.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -519,6 +519,7 @@ cat(":\n\n")
# Plot
dada_stats_p_t$steps_t <- factor(dada_stats_p_t$steps_t, levels=unique(dada_stats_p_t$steps_t))
dada_stats_p_t$samples_t <- factor(dada_stats_p_t$samples_t, levels=dada_stats_p_t[order(dada_stats_p$analysis),"samples_t"])
plot_dada_stats_p_t <- ggplot(dada_stats_p_t, aes(fill = steps_t, y = asvs_p_t, x = samples_t)) +
geom_bar(position = "fill", stat = "identity") +
Expand Down

0 comments on commit aa98524

Please sign in to comment.