diff --git a/_posts/0008-03-01-Cell_annotation.md b/_posts/0008-03-01-Cell_annotation.md index b9f7754..9641348 100644 --- a/_posts/0008-03-01-Cell_annotation.md +++ b/_posts/0008-03-01-Cell_annotation.md @@ -283,6 +283,7 @@ How do our samples differ in their relative cell composition? ```R #visualizing the relative proportion of cell types across our samples library(viridis) +library(ggplot2) ggplot(merged[[]], aes(x = orig.ident, fill = immgen_singler_main)) + geom_bar(position = "fill") + scale_fill_viridis(discrete = TRUE) ```