Skip to content

Commit

Permalink
updates figures for manuscript draft from 2023-01-26
Browse files Browse the repository at this point in the history
  • Loading branch information
skafdasschaf committed Jan 26, 2023
1 parent 9682ca7 commit ac365b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plot_figures.R
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@ label_middle <- function(labels) {
replace(character(length(labels)), middle_index, labels[middle_index])
}

plot_importance_vs_measure_alt <- function() {
plot_importance_vs_measure <- function() {
plot_data <-
node_importance %>%
group_by(experiment, layer, reactome_id) %>%
Expand All @@ -686,7 +686,7 @@ plot_importance_vs_measure_alt <- function() {
)

ggplot(plot_data, aes(value, coef_combined, color = experiment)) +
geom_point(size = .5, alpha = .25, shape = 16, show.legend = FALSE) +
geom_point(size = .1, alpha = 1, shape = 16, show.legend = FALSE) +
geom_smooth(
method = "lm",
se = FALSE,
Expand Down Expand Up @@ -720,7 +720,7 @@ plot_importance_vs_measure_alt <- function() {
)
}

plot_importance_vs_measure_alt()
plot_importance_vs_measure()
ggsave_publication("S2_importance_vs_measure",
width = 28, height = 12, type = "png")

Expand Down

0 comments on commit ac365b5

Please sign in to comment.