Mercurial > repos > iuc > volcanoplot
annotate test-data/out.rscript @ 11:5e08a1e22dbc draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8031afb306afd728f682d754e9270dc22c64c61c
author | iuc |
---|---|
date | Wed, 29 Jan 2025 10:37:54 +0000 |
parents | 99ace6c1ff57 |
children |
rev | line source |
---|---|
5
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
1 |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
2 # Galaxy settings start --------------------------------------------------- |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
3 |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
4 # setup R error handling to go to stderr |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
5 options(show.error.messages = F, error = function() {cat(geterrmessage(), file = stderr()); q("no", 1, F)}) |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
6 |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
7 # we need that to not crash galaxy with an UTF8 error on German LC settings. |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
8 loc <- Sys.setlocale("LC_MESSAGES", "en_US.UTF-8") |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
9 |
6
83c573f2e73c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit e880a5736a65605ae8a38ca9bc6f17c92c798ccd"
iuc
parents:
5
diff
changeset
|
10 # Galaxy settings end ----------------------------------------------------- |
5
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
11 |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
12 # Load packages ----------------------------------------------------------- |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
13 |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
14 suppressPackageStartupMessages({ |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
15 library(dplyr) |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
16 library(ggplot2) |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
17 library(ggrepel) |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
18 }) |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
19 |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
20 |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
21 # Import data ------------------------------------------------------------ |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
22 |
11
5e08a1e22dbc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8031afb306afd728f682d754e9270dc22c64c61c
iuc
parents:
10
diff
changeset
|
23 results <- read.delim('/tmp/tmpl4o1f_bf/files/5/2/5/dataset_52538741-d085-42da-817b-263bd4f7cf98.dat', header = TRUE) |
5
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
24 |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
25 |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
26 # Format data ------------------------------------------------------------ |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
27 |
11
5e08a1e22dbc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8031afb306afd728f682d754e9270dc22c64c61c
iuc
parents:
10
diff
changeset
|
28 # Create columns from the column numbers specified and use the existing category_symbol column for shapes |
5e08a1e22dbc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8031afb306afd728f682d754e9270dc22c64c61c
iuc
parents:
10
diff
changeset
|
29 results <- results %>% mutate( |
5e08a1e22dbc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8031afb306afd728f682d754e9270dc22c64c61c
iuc
parents:
10
diff
changeset
|
30 fdr = .[[4]], |
5e08a1e22dbc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8031afb306afd728f682d754e9270dc22c64c61c
iuc
parents:
10
diff
changeset
|
31 pvalue = .[[3]], |
5e08a1e22dbc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8031afb306afd728f682d754e9270dc22c64c61c
iuc
parents:
10
diff
changeset
|
32 logfc = .[[2]], |
5e08a1e22dbc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8031afb306afd728f682d754e9270dc22c64c61c
iuc
parents:
10
diff
changeset
|
33 labels = .[[1]], |
5e08a1e22dbc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8031afb306afd728f682d754e9270dc22c64c61c
iuc
parents:
10
diff
changeset
|
34 ) |
5e08a1e22dbc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8031afb306afd728f682d754e9270dc22c64c61c
iuc
parents:
10
diff
changeset
|
35 |
5e08a1e22dbc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8031afb306afd728f682d754e9270dc22c64c61c
iuc
parents:
10
diff
changeset
|
36 # Check if shape_col is provided |
5
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
37 |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
38 # Get names for legend |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
39 down <- unlist(strsplit('Down,Not Sig,Up', split = ","))[1] |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
40 notsig <- unlist(strsplit('Down,Not Sig,Up', split = ","))[2] |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
41 up <- unlist(strsplit('Down,Not Sig,Up', split = ","))[3] |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
42 |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
43 # Set colours |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
44 colours <- setNames(c("cornflowerblue", "grey", "firebrick"), c(down, notsig, up)) |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
45 |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
46 # Create significant (sig) column |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
47 results <- mutate(results, sig = case_when( |
6
83c573f2e73c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit e880a5736a65605ae8a38ca9bc6f17c92c798ccd"
iuc
parents:
5
diff
changeset
|
48 fdr < 0.05 & logfc > 0.0 ~ up, |
83c573f2e73c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit e880a5736a65605ae8a38ca9bc6f17c92c798ccd"
iuc
parents:
5
diff
changeset
|
49 fdr < 0.05 & logfc < -0.0 ~ down, |
5
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
50 TRUE ~ notsig)) |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
51 |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
52 |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
53 # Specify genes to label -------------------------------------------------- |
6
83c573f2e73c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit e880a5736a65605ae8a38ca9bc6f17c92c798ccd"
iuc
parents:
5
diff
changeset
|
54 |
83c573f2e73c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit e880a5736a65605ae8a38ca9bc6f17c92c798ccd"
iuc
parents:
5
diff
changeset
|
55 # Import file with genes of interest |
11
5e08a1e22dbc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8031afb306afd728f682d754e9270dc22c64c61c
iuc
parents:
10
diff
changeset
|
56 labelfile <- read.delim('/tmp/tmpl4o1f_bf/files/5/d/4/dataset_5d401b02-f6af-4ed9-b853-992fd4a4d044.dat', header = TRUE) |
6
83c573f2e73c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit e880a5736a65605ae8a38ca9bc6f17c92c798ccd"
iuc
parents:
5
diff
changeset
|
57 |
83c573f2e73c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit e880a5736a65605ae8a38ca9bc6f17c92c798ccd"
iuc
parents:
5
diff
changeset
|
58 # Label the genes of interest in results table |
5
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
59 results <- mutate(results, labels = ifelse(labels %in% labelfile[, 1], labels, "")) |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
60 |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
61 |
6
83c573f2e73c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit e880a5736a65605ae8a38ca9bc6f17c92c798ccd"
iuc
parents:
5
diff
changeset
|
62 |
5
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
63 # Create plot ------------------------------------------------------------- |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
64 |
6
83c573f2e73c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit e880a5736a65605ae8a38ca9bc6f17c92c798ccd"
iuc
parents:
5
diff
changeset
|
65 # Open file to save plot as PDF |
83c573f2e73c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit e880a5736a65605ae8a38ca9bc6f17c92c798ccd"
iuc
parents:
5
diff
changeset
|
66 pdf("volcano_plot.pdf") |
83c573f2e73c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit e880a5736a65605ae8a38ca9bc6f17c92c798ccd"
iuc
parents:
5
diff
changeset
|
67 |
11
5e08a1e22dbc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8031afb306afd728f682d754e9270dc22c64c61c
iuc
parents:
10
diff
changeset
|
68 # Set up base plot with faceting by category_symbol instead of shapes |
6
83c573f2e73c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit e880a5736a65605ae8a38ca9bc6f17c92c798ccd"
iuc
parents:
5
diff
changeset
|
69 p <- ggplot(data = results, aes(x = logfc, y = -log10(pvalue))) + |
5
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
70 scale_color_manual(values = colours) + |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
71 theme(panel.grid.major = element_blank(), |
11
5e08a1e22dbc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8031afb306afd728f682d754e9270dc22c64c61c
iuc
parents:
10
diff
changeset
|
72 panel.grid.minor = element_blank(), |
5e08a1e22dbc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8031afb306afd728f682d754e9270dc22c64c61c
iuc
parents:
10
diff
changeset
|
73 panel.background = element_blank(), |
5e08a1e22dbc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8031afb306afd728f682d754e9270dc22c64c61c
iuc
parents:
10
diff
changeset
|
74 axis.line = element_line(colour = "black"), |
5e08a1e22dbc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8031afb306afd728f682d754e9270dc22c64c61c
iuc
parents:
10
diff
changeset
|
75 legend.key = element_blank()) |
5e08a1e22dbc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8031afb306afd728f682d754e9270dc22c64c61c
iuc
parents:
10
diff
changeset
|
76 |
5e08a1e22dbc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8031afb306afd728f682d754e9270dc22c64c61c
iuc
parents:
10
diff
changeset
|
77 # Conditional logic to use either shape or facet based on user selection |
5e08a1e22dbc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8031afb306afd728f682d754e9270dc22c64c61c
iuc
parents:
10
diff
changeset
|
78 p <- p + geom_point(aes(colour = sig)) #only add color |
5
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
79 |
6
83c573f2e73c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit e880a5736a65605ae8a38ca9bc6f17c92c798ccd"
iuc
parents:
5
diff
changeset
|
80 # Add gene labels |
83c573f2e73c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit e880a5736a65605ae8a38ca9bc6f17c92c798ccd"
iuc
parents:
5
diff
changeset
|
81 p <- p + geom_text_repel(data = filter(results, labels != ""), aes(label = labels), |
83c573f2e73c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit e880a5736a65605ae8a38ca9bc6f17c92c798ccd"
iuc
parents:
5
diff
changeset
|
82 min.segment.length = 0, |
83c573f2e73c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit e880a5736a65605ae8a38ca9bc6f17c92c798ccd"
iuc
parents:
5
diff
changeset
|
83 max.overlaps = Inf, |
83c573f2e73c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit e880a5736a65605ae8a38ca9bc6f17c92c798ccd"
iuc
parents:
5
diff
changeset
|
84 show.legend = FALSE) |
83c573f2e73c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit e880a5736a65605ae8a38ca9bc6f17c92c798ccd"
iuc
parents:
5
diff
changeset
|
85 |
5
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
86 |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
87 |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
88 |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
89 |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
90 |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
91 # Set legend title |
6
83c573f2e73c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit e880a5736a65605ae8a38ca9bc6f17c92c798ccd"
iuc
parents:
5
diff
changeset
|
92 p <- p + theme(legend.title = element_blank()) |
5
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
93 |
6
83c573f2e73c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit e880a5736a65605ae8a38ca9bc6f17c92c798ccd"
iuc
parents:
5
diff
changeset
|
94 # Print plot |
83c573f2e73c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit e880a5736a65605ae8a38ca9bc6f17c92c798ccd"
iuc
parents:
5
diff
changeset
|
95 print(p) |
5
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
96 |
6
83c573f2e73c
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit e880a5736a65605ae8a38ca9bc6f17c92c798ccd"
iuc
parents:
5
diff
changeset
|
97 # Close PDF graphics device |
5
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
98 dev.off() |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
99 |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
100 |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
101 # R and Package versions ------------------------------------------------- |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
102 sessionInfo() |
44608d0193ed
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/volcanoplot commit 8464d1b013c316d88b37884be521c0ef50be5623"
iuc
parents:
diff
changeset
|
103 |