UCLouvain-CBIO / depmap-workflow

F1000research workflow
0 stars 0 forks source link

Figure not displayed #6

Closed lgatto closed 4 years ago

lgatto commented 4 years ago

Figure 'Expression vs crispr gene dependency for Rhabdomyosarcoma' (now in code chunk rhabdomyosarcoma2). The code created a variable p3 that was never shown. Was it meant that way?

tfkillian commented 4 years ago

Any reference to p3 can be removed. The code as it is now is fine. Below is the same code chunk from a previous commit.

p3 <- ggplot(data = sarcoma_dat_exp, aes(x = dependency, y = expression)) +
      geom_point(alpha = 0.4, size = 0.5) +
      geom_vline(xintercept = mean(sarcoma_dat_exp$dependency, na.rm = TRUE),
                 linetype = "dotted", color = "red") +
      geom_hline(yintercept = mean(sarcoma_dat_exp$expression, na.rm = TRUE),
                 linetype = "dotted", color = "red") +
      ggtitle("Scatterplot of CRISPR dependency vs expression values for gene")
p3 + theme(axis.text.x = element_text(angle = 45))
p3
lgatto commented 4 years ago

Ok, thanks.