How do I shade plot subregion and use ggrepel to label a subset of data points?
I made this Volcano plot and am hoping to improve it as follows:
fully shade the region with blue data points: with my current code, I wasn't able to extend the shade beyond what you see. I would like it to go all the way to the plot area limits.
geom_text
allowed me to label a subset of data points, but doing it withggrepel
should add lines connecting the data points with labels thus improving labeling clarity. How can I reuse the existinggeom_text
code inggrepel
to achieve this?
Here is my code:
ggplot(vol.new, aes(x = log2.fold.change, y = X.NAME., fill = Color)) + # Define data frame to be used for plotting; define data for x and y axes; crate a scatterplot object.
geom_point(size = 2, shape = 21, colour = "black") + # Define data point style.
ggtitle(main.title, subtitle = "Just a little subtitle") + # Define title and subtitle.
labs(x = x.lab, y = y.lab) + # Define labels for x and y axes.
scale_x_continuous(limits = c(-3, 3), breaks = seq(-3, 3, by = 0.5)) + # Define x limits, add ticks.
scale_y_continuous(limits = c(0, 6), breaks = seq(0, 6, by = 1)) + # Define y limits, add ticks.
theme(
plot.title = element_text(family = "Arial", size = 11, hjust = 0), # Title size and font.
plot.subtitle = element_text(family = "Arial", size = 11), # Subtitle size and font.
axis.text = element_text(family = "Arial", size = 10), # Size and font of x and y values.
axis.title = element_text(family = "Arial", size = 10), # Size and font of x and y axes.
panel.border = element_rect(colour = "black", fill = NA, size = 1), # Black border around the plot area.
axis.ticks = element_line(colour = "black", size = 1), # Style of x and y ticks.
legend.position = "none"
) + # Remove legend.
geom_hline(yintercept = 1.30103, colour = "black", linetype = "dashed", size = 0.75) + # Horizontal significance cut-off line.
geom_vline(xintercept = 0.584963, colour = "black", linetype = "dashed", size = 0.75) + # Vertical significance cut-off line (+).
# geom_vline (xintercept = -0.584963, colour = "black", linetype = "dashed", size = 0.75) #Vertical significance cut-off line (-)
scale_fill_manual(breaks = c("blue", "red"), values = c("deepskyblue3", "firebrick1")) + # Costum colors of data points based on "PursFur" column.
geom_text(aes(label = ifelse(PursFur == 1, as.character(Protein.ID), "")), hjust = 0, vjust = -0.25) + # Add identifiers to a subset of data points.
annotate("text", x = 2.9, y = 1.45, label = "P = 0.05", size = 4, fontface = "bold") + # Label to horizontal cut-off line.
annotate("text", x = 0.68, y = 5.9, label = "1.5-fold", size = 4, fontface = "bold", srt = 90) + # Label to vertical cut-off line.
annotate("rect", xmin = 0.584963, xmax = 3, ymin = 1.30103, ymax = 6, alpha = .2) # Shade plot subregion.
r ggplot2 bioinformatics ggrepel
add a comment |
I made this Volcano plot and am hoping to improve it as follows:
fully shade the region with blue data points: with my current code, I wasn't able to extend the shade beyond what you see. I would like it to go all the way to the plot area limits.
geom_text
allowed me to label a subset of data points, but doing it withggrepel
should add lines connecting the data points with labels thus improving labeling clarity. How can I reuse the existinggeom_text
code inggrepel
to achieve this?
Here is my code:
ggplot(vol.new, aes(x = log2.fold.change, y = X.NAME., fill = Color)) + # Define data frame to be used for plotting; define data for x and y axes; crate a scatterplot object.
geom_point(size = 2, shape = 21, colour = "black") + # Define data point style.
ggtitle(main.title, subtitle = "Just a little subtitle") + # Define title and subtitle.
labs(x = x.lab, y = y.lab) + # Define labels for x and y axes.
scale_x_continuous(limits = c(-3, 3), breaks = seq(-3, 3, by = 0.5)) + # Define x limits, add ticks.
scale_y_continuous(limits = c(0, 6), breaks = seq(0, 6, by = 1)) + # Define y limits, add ticks.
theme(
plot.title = element_text(family = "Arial", size = 11, hjust = 0), # Title size and font.
plot.subtitle = element_text(family = "Arial", size = 11), # Subtitle size and font.
axis.text = element_text(family = "Arial", size = 10), # Size and font of x and y values.
axis.title = element_text(family = "Arial", size = 10), # Size and font of x and y axes.
panel.border = element_rect(colour = "black", fill = NA, size = 1), # Black border around the plot area.
axis.ticks = element_line(colour = "black", size = 1), # Style of x and y ticks.
legend.position = "none"
) + # Remove legend.
geom_hline(yintercept = 1.30103, colour = "black", linetype = "dashed", size = 0.75) + # Horizontal significance cut-off line.
geom_vline(xintercept = 0.584963, colour = "black", linetype = "dashed", size = 0.75) + # Vertical significance cut-off line (+).
# geom_vline (xintercept = -0.584963, colour = "black", linetype = "dashed", size = 0.75) #Vertical significance cut-off line (-)
scale_fill_manual(breaks = c("blue", "red"), values = c("deepskyblue3", "firebrick1")) + # Costum colors of data points based on "PursFur" column.
geom_text(aes(label = ifelse(PursFur == 1, as.character(Protein.ID), "")), hjust = 0, vjust = -0.25) + # Add identifiers to a subset of data points.
annotate("text", x = 2.9, y = 1.45, label = "P = 0.05", size = 4, fontface = "bold") + # Label to horizontal cut-off line.
annotate("text", x = 0.68, y = 5.9, label = "1.5-fold", size = 4, fontface = "bold", srt = 90) + # Label to vertical cut-off line.
annotate("rect", xmin = 0.584963, xmax = 3, ymin = 1.30103, ymax = 6, alpha = .2) # Shade plot subregion.
r ggplot2 bioinformatics ggrepel
2
You can use-Inf
andInf
as x or y min or max values. Also: 👍🏼 first question
– hrbrmstr
Nov 13 '18 at 2:38
There is a package for Volcano Plots, see: github.com/kevinblighe/EnhancedVolcano
– zx8754
Nov 15 '18 at 8:17
Related post regarding shading: stackoverflow.com/questions/9968975/…
– zx8754
Nov 15 '18 at 8:21
@zx8754 I've seen EnhancedVolcano, yes. I will test it out. Thank you for linking the related post too!
– JernejT
Nov 16 '18 at 2:31
add a comment |
I made this Volcano plot and am hoping to improve it as follows:
fully shade the region with blue data points: with my current code, I wasn't able to extend the shade beyond what you see. I would like it to go all the way to the plot area limits.
geom_text
allowed me to label a subset of data points, but doing it withggrepel
should add lines connecting the data points with labels thus improving labeling clarity. How can I reuse the existinggeom_text
code inggrepel
to achieve this?
Here is my code:
ggplot(vol.new, aes(x = log2.fold.change, y = X.NAME., fill = Color)) + # Define data frame to be used for plotting; define data for x and y axes; crate a scatterplot object.
geom_point(size = 2, shape = 21, colour = "black") + # Define data point style.
ggtitle(main.title, subtitle = "Just a little subtitle") + # Define title and subtitle.
labs(x = x.lab, y = y.lab) + # Define labels for x and y axes.
scale_x_continuous(limits = c(-3, 3), breaks = seq(-3, 3, by = 0.5)) + # Define x limits, add ticks.
scale_y_continuous(limits = c(0, 6), breaks = seq(0, 6, by = 1)) + # Define y limits, add ticks.
theme(
plot.title = element_text(family = "Arial", size = 11, hjust = 0), # Title size and font.
plot.subtitle = element_text(family = "Arial", size = 11), # Subtitle size and font.
axis.text = element_text(family = "Arial", size = 10), # Size and font of x and y values.
axis.title = element_text(family = "Arial", size = 10), # Size and font of x and y axes.
panel.border = element_rect(colour = "black", fill = NA, size = 1), # Black border around the plot area.
axis.ticks = element_line(colour = "black", size = 1), # Style of x and y ticks.
legend.position = "none"
) + # Remove legend.
geom_hline(yintercept = 1.30103, colour = "black", linetype = "dashed", size = 0.75) + # Horizontal significance cut-off line.
geom_vline(xintercept = 0.584963, colour = "black", linetype = "dashed", size = 0.75) + # Vertical significance cut-off line (+).
# geom_vline (xintercept = -0.584963, colour = "black", linetype = "dashed", size = 0.75) #Vertical significance cut-off line (-)
scale_fill_manual(breaks = c("blue", "red"), values = c("deepskyblue3", "firebrick1")) + # Costum colors of data points based on "PursFur" column.
geom_text(aes(label = ifelse(PursFur == 1, as.character(Protein.ID), "")), hjust = 0, vjust = -0.25) + # Add identifiers to a subset of data points.
annotate("text", x = 2.9, y = 1.45, label = "P = 0.05", size = 4, fontface = "bold") + # Label to horizontal cut-off line.
annotate("text", x = 0.68, y = 5.9, label = "1.5-fold", size = 4, fontface = "bold", srt = 90) + # Label to vertical cut-off line.
annotate("rect", xmin = 0.584963, xmax = 3, ymin = 1.30103, ymax = 6, alpha = .2) # Shade plot subregion.
r ggplot2 bioinformatics ggrepel
I made this Volcano plot and am hoping to improve it as follows:
fully shade the region with blue data points: with my current code, I wasn't able to extend the shade beyond what you see. I would like it to go all the way to the plot area limits.
geom_text
allowed me to label a subset of data points, but doing it withggrepel
should add lines connecting the data points with labels thus improving labeling clarity. How can I reuse the existinggeom_text
code inggrepel
to achieve this?
Here is my code:
ggplot(vol.new, aes(x = log2.fold.change, y = X.NAME., fill = Color)) + # Define data frame to be used for plotting; define data for x and y axes; crate a scatterplot object.
geom_point(size = 2, shape = 21, colour = "black") + # Define data point style.
ggtitle(main.title, subtitle = "Just a little subtitle") + # Define title and subtitle.
labs(x = x.lab, y = y.lab) + # Define labels for x and y axes.
scale_x_continuous(limits = c(-3, 3), breaks = seq(-3, 3, by = 0.5)) + # Define x limits, add ticks.
scale_y_continuous(limits = c(0, 6), breaks = seq(0, 6, by = 1)) + # Define y limits, add ticks.
theme(
plot.title = element_text(family = "Arial", size = 11, hjust = 0), # Title size and font.
plot.subtitle = element_text(family = "Arial", size = 11), # Subtitle size and font.
axis.text = element_text(family = "Arial", size = 10), # Size and font of x and y values.
axis.title = element_text(family = "Arial", size = 10), # Size and font of x and y axes.
panel.border = element_rect(colour = "black", fill = NA, size = 1), # Black border around the plot area.
axis.ticks = element_line(colour = "black", size = 1), # Style of x and y ticks.
legend.position = "none"
) + # Remove legend.
geom_hline(yintercept = 1.30103, colour = "black", linetype = "dashed", size = 0.75) + # Horizontal significance cut-off line.
geom_vline(xintercept = 0.584963, colour = "black", linetype = "dashed", size = 0.75) + # Vertical significance cut-off line (+).
# geom_vline (xintercept = -0.584963, colour = "black", linetype = "dashed", size = 0.75) #Vertical significance cut-off line (-)
scale_fill_manual(breaks = c("blue", "red"), values = c("deepskyblue3", "firebrick1")) + # Costum colors of data points based on "PursFur" column.
geom_text(aes(label = ifelse(PursFur == 1, as.character(Protein.ID), "")), hjust = 0, vjust = -0.25) + # Add identifiers to a subset of data points.
annotate("text", x = 2.9, y = 1.45, label = "P = 0.05", size = 4, fontface = "bold") + # Label to horizontal cut-off line.
annotate("text", x = 0.68, y = 5.9, label = "1.5-fold", size = 4, fontface = "bold", srt = 90) + # Label to vertical cut-off line.
annotate("rect", xmin = 0.584963, xmax = 3, ymin = 1.30103, ymax = 6, alpha = .2) # Shade plot subregion.
r ggplot2 bioinformatics ggrepel
r ggplot2 bioinformatics ggrepel
edited Nov 15 '18 at 8:39
zx8754
29.6k76398
29.6k76398
asked Nov 13 '18 at 1:39
JernejTJernejT
766
766
2
You can use-Inf
andInf
as x or y min or max values. Also: 👍🏼 first question
– hrbrmstr
Nov 13 '18 at 2:38
There is a package for Volcano Plots, see: github.com/kevinblighe/EnhancedVolcano
– zx8754
Nov 15 '18 at 8:17
Related post regarding shading: stackoverflow.com/questions/9968975/…
– zx8754
Nov 15 '18 at 8:21
@zx8754 I've seen EnhancedVolcano, yes. I will test it out. Thank you for linking the related post too!
– JernejT
Nov 16 '18 at 2:31
add a comment |
2
You can use-Inf
andInf
as x or y min or max values. Also: 👍🏼 first question
– hrbrmstr
Nov 13 '18 at 2:38
There is a package for Volcano Plots, see: github.com/kevinblighe/EnhancedVolcano
– zx8754
Nov 15 '18 at 8:17
Related post regarding shading: stackoverflow.com/questions/9968975/…
– zx8754
Nov 15 '18 at 8:21
@zx8754 I've seen EnhancedVolcano, yes. I will test it out. Thank you for linking the related post too!
– JernejT
Nov 16 '18 at 2:31
2
2
You can use
-Inf
and Inf
as x or y min or max values. Also: 👍🏼 first question– hrbrmstr
Nov 13 '18 at 2:38
You can use
-Inf
and Inf
as x or y min or max values. Also: 👍🏼 first question– hrbrmstr
Nov 13 '18 at 2:38
There is a package for Volcano Plots, see: github.com/kevinblighe/EnhancedVolcano
– zx8754
Nov 15 '18 at 8:17
There is a package for Volcano Plots, see: github.com/kevinblighe/EnhancedVolcano
– zx8754
Nov 15 '18 at 8:17
Related post regarding shading: stackoverflow.com/questions/9968975/…
– zx8754
Nov 15 '18 at 8:21
Related post regarding shading: stackoverflow.com/questions/9968975/…
– zx8754
Nov 15 '18 at 8:21
@zx8754 I've seen EnhancedVolcano, yes. I will test it out. Thank you for linking the related post too!
– JernejT
Nov 16 '18 at 2:31
@zx8754 I've seen EnhancedVolcano, yes. I will test it out. Thank you for linking the related post too!
– JernejT
Nov 16 '18 at 2:31
add a comment |
2 Answers
2
active
oldest
votes
As suggested in the comments by @hrbrmstr and @zx8754, here are the modifications I made to the code above.
To solve the shading problem (via @hrbrmstr):
annotate ("rect", xmin = 0.584963, xmax = Inf, ymin = 1.30103, ymax = Inf, alpha = .2)
To solve the labeling question (via @zx8754):
geom_label_repel (aes (label = ifelse (PursFur == 1, as.character (Protein.ID), '')), nudge_x = 1.3, direction = "x")
And here is the outcome after these two changes:
See this website and this nice ggrepel tutorial to dive further into the second part of my initial question.
Just replace "geom_text" with "geom_text_repel".
– zx8754
Nov 15 '18 at 8:13
If this is resolved, please accept as answer: meta.stackexchange.com/questions/5234/…
– zx8754
Nov 16 '18 at 8:08
Answer accepted.
– JernejT
Nov 16 '18 at 18:12
add a comment |
An alternative labeling solution was achieved with the following code:
geom_label_repel (aes (label = ifelse (PursFur == 1, as.character (Protein.ID),'')),
nudge_x = 4, direction = "y",
arrow = arrow (length = unit (0.02, "npc"), type = "closed", ends = "last", angle = 15),
fill = "white")
And the resulting plot looks like this now:
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53272541%2fhow-do-i-shade-plot-subregion-and-use-ggrepel-to-label-a-subset-of-data-points%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
As suggested in the comments by @hrbrmstr and @zx8754, here are the modifications I made to the code above.
To solve the shading problem (via @hrbrmstr):
annotate ("rect", xmin = 0.584963, xmax = Inf, ymin = 1.30103, ymax = Inf, alpha = .2)
To solve the labeling question (via @zx8754):
geom_label_repel (aes (label = ifelse (PursFur == 1, as.character (Protein.ID), '')), nudge_x = 1.3, direction = "x")
And here is the outcome after these two changes:
See this website and this nice ggrepel tutorial to dive further into the second part of my initial question.
Just replace "geom_text" with "geom_text_repel".
– zx8754
Nov 15 '18 at 8:13
If this is resolved, please accept as answer: meta.stackexchange.com/questions/5234/…
– zx8754
Nov 16 '18 at 8:08
Answer accepted.
– JernejT
Nov 16 '18 at 18:12
add a comment |
As suggested in the comments by @hrbrmstr and @zx8754, here are the modifications I made to the code above.
To solve the shading problem (via @hrbrmstr):
annotate ("rect", xmin = 0.584963, xmax = Inf, ymin = 1.30103, ymax = Inf, alpha = .2)
To solve the labeling question (via @zx8754):
geom_label_repel (aes (label = ifelse (PursFur == 1, as.character (Protein.ID), '')), nudge_x = 1.3, direction = "x")
And here is the outcome after these two changes:
See this website and this nice ggrepel tutorial to dive further into the second part of my initial question.
Just replace "geom_text" with "geom_text_repel".
– zx8754
Nov 15 '18 at 8:13
If this is resolved, please accept as answer: meta.stackexchange.com/questions/5234/…
– zx8754
Nov 16 '18 at 8:08
Answer accepted.
– JernejT
Nov 16 '18 at 18:12
add a comment |
As suggested in the comments by @hrbrmstr and @zx8754, here are the modifications I made to the code above.
To solve the shading problem (via @hrbrmstr):
annotate ("rect", xmin = 0.584963, xmax = Inf, ymin = 1.30103, ymax = Inf, alpha = .2)
To solve the labeling question (via @zx8754):
geom_label_repel (aes (label = ifelse (PursFur == 1, as.character (Protein.ID), '')), nudge_x = 1.3, direction = "x")
And here is the outcome after these two changes:
See this website and this nice ggrepel tutorial to dive further into the second part of my initial question.
As suggested in the comments by @hrbrmstr and @zx8754, here are the modifications I made to the code above.
To solve the shading problem (via @hrbrmstr):
annotate ("rect", xmin = 0.584963, xmax = Inf, ymin = 1.30103, ymax = Inf, alpha = .2)
To solve the labeling question (via @zx8754):
geom_label_repel (aes (label = ifelse (PursFur == 1, as.character (Protein.ID), '')), nudge_x = 1.3, direction = "x")
And here is the outcome after these two changes:
See this website and this nice ggrepel tutorial to dive further into the second part of my initial question.
edited Nov 16 '18 at 3:22
answered Nov 13 '18 at 2:56
JernejTJernejT
766
766
Just replace "geom_text" with "geom_text_repel".
– zx8754
Nov 15 '18 at 8:13
If this is resolved, please accept as answer: meta.stackexchange.com/questions/5234/…
– zx8754
Nov 16 '18 at 8:08
Answer accepted.
– JernejT
Nov 16 '18 at 18:12
add a comment |
Just replace "geom_text" with "geom_text_repel".
– zx8754
Nov 15 '18 at 8:13
If this is resolved, please accept as answer: meta.stackexchange.com/questions/5234/…
– zx8754
Nov 16 '18 at 8:08
Answer accepted.
– JernejT
Nov 16 '18 at 18:12
Just replace "geom_text" with "geom_text_repel".
– zx8754
Nov 15 '18 at 8:13
Just replace "geom_text" with "geom_text_repel".
– zx8754
Nov 15 '18 at 8:13
If this is resolved, please accept as answer: meta.stackexchange.com/questions/5234/…
– zx8754
Nov 16 '18 at 8:08
If this is resolved, please accept as answer: meta.stackexchange.com/questions/5234/…
– zx8754
Nov 16 '18 at 8:08
Answer accepted.
– JernejT
Nov 16 '18 at 18:12
Answer accepted.
– JernejT
Nov 16 '18 at 18:12
add a comment |
An alternative labeling solution was achieved with the following code:
geom_label_repel (aes (label = ifelse (PursFur == 1, as.character (Protein.ID),'')),
nudge_x = 4, direction = "y",
arrow = arrow (length = unit (0.02, "npc"), type = "closed", ends = "last", angle = 15),
fill = "white")
And the resulting plot looks like this now:
add a comment |
An alternative labeling solution was achieved with the following code:
geom_label_repel (aes (label = ifelse (PursFur == 1, as.character (Protein.ID),'')),
nudge_x = 4, direction = "y",
arrow = arrow (length = unit (0.02, "npc"), type = "closed", ends = "last", angle = 15),
fill = "white")
And the resulting plot looks like this now:
add a comment |
An alternative labeling solution was achieved with the following code:
geom_label_repel (aes (label = ifelse (PursFur == 1, as.character (Protein.ID),'')),
nudge_x = 4, direction = "y",
arrow = arrow (length = unit (0.02, "npc"), type = "closed", ends = "last", angle = 15),
fill = "white")
And the resulting plot looks like this now:
An alternative labeling solution was achieved with the following code:
geom_label_repel (aes (label = ifelse (PursFur == 1, as.character (Protein.ID),'')),
nudge_x = 4, direction = "y",
arrow = arrow (length = unit (0.02, "npc"), type = "closed", ends = "last", angle = 15),
fill = "white")
And the resulting plot looks like this now:
answered Nov 29 '18 at 21:38
JernejTJernejT
766
766
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53272541%2fhow-do-i-shade-plot-subregion-and-use-ggrepel-to-label-a-subset-of-data-points%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
You can use
-Inf
andInf
as x or y min or max values. Also: 👍🏼 first question– hrbrmstr
Nov 13 '18 at 2:38
There is a package for Volcano Plots, see: github.com/kevinblighe/EnhancedVolcano
– zx8754
Nov 15 '18 at 8:17
Related post regarding shading: stackoverflow.com/questions/9968975/…
– zx8754
Nov 15 '18 at 8:21
@zx8754 I've seen EnhancedVolcano, yes. I will test it out. Thank you for linking the related post too!
– JernejT
Nov 16 '18 at 2:31