drawVennGrid: Create plot_grid from multiple plots

Description Usage Value Examples

Description

Create plot_grid from multiple plots

Usage

1

Value

plot object

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
## Not run: 
  cowplot::plot_grid(drawVenn4 (), drawVenn4Syn(), drawVenn5Doc (), 
    drawVenn5DrugDoc ())
  ggplot2::ggsave("vennAB.png", plot = cowplot::plot_grid(drawVenn4 (), 
    drawVenn4Syn(), labels = c('A', 'B'), ncol = 1), width=240, height=320,  
    units = "mm", dpi = 300)
  ggplot2::ggsave("vennAB.png", plot = cowplot::plot_grid(drawVenn4 (), 
    drawVenn4Syn(), labels = c('Concepts:', 'Synonyms:'), ncol = 1), width=240, 
    height=320,  units = "mm", dpi = 300)
  ggplot2::ggsave("vennCD.png", plot = cowplot::plot_grid(drawVenn5Doc (), 
    drawVenn5DrugDoc(), labels = c('Documents with B-Terms:', 
    'Documents with B- and C-Terms:'), ncol = 1), width=240, height=320,  
    units = "mm", dpi = 300)
  ggplot2::ggsave("vennCD.png", plot = cowplot::plot_grid(drawVenn5Doc (), 
    drawVenn5DrugDoc(), labels = c('Documents with B-Terms:', 
   'Documents with B- and C-Terms:'), ncol = 1), width=240, height=320,  units = "mm", 
   dpi = 300)
  ggplot2::ggsave("vennCD.png", plot = cowplot::plot_grid(drawVenn4Doc (), 
    drawVenn4DrugDoc(), labels = c('Documents with B-Terms:', 
    'Documents with B- and C-Terms:'), ncol = 1), width=240, height=320,  
    units = "mm", dpi = 300)
  ggplot2::ggsave("vennCD.png", plot = cowplot::plot_grid(drawVenn4Doc (), 
    drawVenn4DrugDoc(), labels = c('Documents\nwith B-Terms:             ', 
    'Documents\nwith B- and C-Terms:'), ncol = 1), width=240, height=320,  
    units = "mm", dpi = 300)
  ggplot2::ggsave("vennAB.png", plot = cowplot::plot_grid(drawVenn4 (), 
    drawVenn4Syn(), labels = c('i) Concepts:', 'ii) Synonyms:'), ncol = 1), 
    width=240, height=320,  units = "mm", dpi = 300)
  ggplot2::ggsave("vennCD.png", plot = cowplot::plot_grid(NULL, 
    drawVenn4Doc (), drawVenn4DrugDoc(), 
    labels = c('iii) Documents with B-Terms:', 
    'iv) Documents with B- and C-Terms:'), ncol = 1, 
    label_x = c(-0.105, -0.14), label_fontfamily = "Arial Nova Light", 
    label_fontface = "bold"), width=240, height=320,  units = "mm", dpi = 300)

## End(Not run)

epos documentation built on Feb. 20, 2021, 9:09 a.m.