diff --git a/images/plotly_age_onset.html b/images/plotly_age_onset.html index 24197e8c..2e5ed8ea 100644 --- a/images/plotly_age_onset.html +++ b/images/plotly_age_onset.html @@ -14,7 +14,7 @@ -
- +
+ diff --git a/images/plotly_path_size.html b/images/plotly_path_size.html index 0f44df6e..79550439 100644 --- a/images/plotly_path_size.html +++ b/images/plotly_path_size.html @@ -14,7 +14,7 @@ -
- +
+ diff --git a/scripts/plots.R b/scripts/plots.R index c948d2ac..07e55aed 100644 --- a/scripts/plots.R +++ b/scripts/plots.R @@ -50,7 +50,7 @@ p_age = ggplot(subset(disease.loci, !is.na(disease.loci$age_onset_min) & disease geom_linerange(aes(ymin = typ_age_onset_min, ymax = typ_age_onset_max, ), linewidth = 2) + scale_y_continuous(name = 'Age of onset (years)', - breaks = c(seq(0, 90, 10), 18)) + + breaks = c(seq(0, 100, 25), 18)) + scale_x_discrete(name = 'Disease') + scale_color_brewer(palette = 'Paired', direction = -1) + geom_segment(aes(x = 1, y = 18, xend = 66, yend = 18), linetype = 'longdash', color = 'lightgrey') +