Skip to content

Commit 374672a

Browse files
authored
nb: update figure params
1 parent 853650a commit 374672a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

notebooks/analysis/mave_mapping_fig_3b.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ df <- data.frame('Experiment Cellular Context' = names, 'value' = context_counts
3737

3838
ggplot(df, aes(x = factor(Experiment.Cellular.Context, levels = c('Human', 'Yeast', 'Bacteria', 'Mouse', 'Bacteriophage', 'N/A')), y = value, fill = rownames(df))) +
3939
geom_bar(stat = 'identity', fill = c("#F8766D","#B79F00","#90ee90","#00BFC4","#619CFF","#F564E3")) +
40-
geom_text(aes(label = value), vjust = ifelse(df$value != 92, -1, 3), size = 10, colour = ifelse(df$value == 97, 'white', 'black')) +
40+
geom_text(aes(label = value), vjust = ifelse(df$value != 86, -1, 3), size = 10, colour = ifelse(df$value == 97, 'white', 'black')) +
4141
xlab('MAVE Experiment Cellular Context') +
4242
ylab('Number of Experiments') +
4343
scale_y_continuous(expand = c(0, 0)) +

0 commit comments

Comments
 (0)