Skip to content

Commit

Permalink
updates plots
Browse files Browse the repository at this point in the history
  • Loading branch information
TomSmithCGAT committed Mar 11, 2020
1 parent 952cfe1 commit 154cece
Show file tree
Hide file tree
Showing 15 changed files with 45 additions and 20 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,17 @@

This repository was used to generate figures for the OOPS Nature Protocols manuscript

Additionally, a tutorial for identifying changes in RNA binding using OOPS is provided:
('Identify_changes_in_RNA_binding.Rmd')

The repository structure is:

- raw:
Copies of supplementary data from the original OOPS publication (https://www.nature.com/articles/s41587-018-0001-2)
Copies of supplementary data from the original OOPS publication (https://www.nature.com/articles/s41587-018-0001-2)

- notebooks:
R markdown notebooks to analyse data and generate figures
R markdown notebooks

- results/plots:
Plots from notebooks
Plots from notebooks

1 change: 1 addition & 0 deletions notebooks/Identify_changes_in_RNA_binding.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ p <- limma_results %>%
print(p)
ggsave('../results/plots/rna_binding_changes_volcano.png')
ggsave('../results/plots/rna_binding_changes_volcano.pdf')
```


Expand Down
8 changes: 7 additions & 1 deletion notebooks/Identify_changes_in_RNA_binding.nb.html

Large diffs are not rendered by default.

Binary file modified notebooks/Identify_changes_in_RNA_binding.pdf
Binary file not shown.
2 changes: 2 additions & 0 deletions notebooks/OOPS_CL_RNase_control_ratios.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ ratios_p1 <- combined_cl_rnase %>%
print(ratios_p1)
ggsave('../results/plots/ratios_p1.png')
ggsave('../results/plots/ratios_p1.pdf')
ratios_p2 <- combined_cl_rnase %>%
mutate(exp=factor(exp, levels=c('RNase:Ctrl', 'CL:NC'))) %>%
Expand All @@ -91,6 +92,7 @@ ratios_p2 <- combined_cl_rnase %>%
print(ratios_p2)
ggsave('../results/plots/ratios_p2.png')
ggsave('../results/plots/ratios_p2.pdf')
```

14 changes: 13 additions & 1 deletion notebooks/OOPS_CL_RNase_control_ratios.nb.html

Large diffs are not rendered by default.

Binary file modified notebooks/OOPS_CL_RNase_control_ratios.pdf
Binary file not shown.
5 changes: 3 additions & 2 deletions notebooks/Visualise_dynamics.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,11 @@ p <- glycolysis_intensities %>%
geom_vline(xintercept=3.5) +
geom_vline(xintercept=6.5) +
scale_fill_gradient(low=cbPalette[1], high=cbPalette[5], name='Protein abundance\n(centre-median normalised)') +
theme(axis.text.y=element_text(size=10))
theme(axis.text.y=element_text(size=10), legend.title=element_text(size=10), legend.text=element_text(size=10))
print(p)
ggsave('../results/plots/rna_binding_changes_heatmap.png')
ggsave('../results/plots/rna_binding_changes_heatmap.png', width=10, height=5)
ggsave('../results/plots/rna_binding_changes_heatmap.pdf', width=10, height=5)
```

26 changes: 13 additions & 13 deletions notebooks/Visualise_dynamics.nb.html

Large diffs are not rendered by default.

Binary file modified notebooks/Visualise_dynamics.pdf
Binary file not shown.
Binary file added results/plots/ratios_p1.pdf
Binary file not shown.
Binary file added results/plots/ratios_p2.pdf
Binary file not shown.
Binary file added results/plots/rna_binding_changes_heatmap.pdf
Binary file not shown.
Binary file modified results/plots/rna_binding_changes_heatmap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added results/plots/rna_binding_changes_volcano.pdf
Binary file not shown.

0 comments on commit 154cece

Please sign in to comment.