Skip to content

Commit f03a731

Browse files
committed
visualizations
1 parent 928f196 commit f03a731

19 files changed

+490
-488
lines changed

visualizations/.Rhistory

Lines changed: 483 additions & 483 deletions
Large diffs are not rendered by default.

visualizations/plot_overlaps.R

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ for (ds in c('huang', 'guo', 'du', 'pan', 'richoux')){
100100
p_0 <- unique(all_sets[partition == '0' & dataset == ds, Protein])
101101
p_1 <- unique(all_sets[partition == '1' & dataset == ds, Protein])
102102
p_both <- unique(all_sets[partition == 'both' & dataset == ds, Protein])
103-
if(ds == 'richoux'){
103+
if(ds == 'richoux')
104104
ds <- 'richoux-uniprot'
105105
venn_plot <- venn.diagram(x = list(p_0, p_1, p_both),
106106
category.names = TeX(c('$\\it{INTRA}_0$', '$\\it{INTRA}_1$', '$\\it{INTER}$')),
@@ -225,5 +225,6 @@ g <- arrangeGrob(gTree(children=plot_list[['huang']]),
225225
gTree(children=plot_list[['pan']]),
226226
gTree(children=plot_list[['richoux-uniprot']]),
227227
gTree(children=plot_list[['dscript']]),
228-
nrow=2)
229-
ggsave('plots/venn_overlaps_partitions.pdf', g, height = 5, width = 17)
228+
ncol =2)
229+
ggsave('~/Downloads/venn_overlaps_partitions.png', g, height = 12, width = 11)
230+
#ggsave('plots/venn_overlaps_partitions.pdf', g, height = 5, width = 17)
9.39 KB
Binary file not shown.
10.9 KB
Binary file not shown.
9.95 KB
Binary file not shown.
7.5 KB
Binary file not shown.
12 KB
Binary file not shown.
7.01 KB
Binary file not shown.
4.96 KB
Binary file not shown.
5.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)