View source: R/getVolcanoPlot.R
getVolcanoPlot | R Documentation |
Plotly function to generate standard volcano plot from fold change data
getVolcanoPlot(
.data,
foldChangeVariable,
significanceVariable,
significanceGroup,
text,
key,
plotName,
color,
shape = "circle"
)
.data |
dataframe containing fold change data |
foldChangeVariable |
fold change variable |
significanceVariable |
p value variable |
significanceGroup |
significance group column - each group results in a separate trace |
text |
column containing text values to show in tooltip |
key |
- key column in fold change data - will be used for capuring select events |
plotName |
- name to attribute to plot (used for tracking clicks, events, etc) |
color |
- column with color to use for each row / group in dataset - should be unique per significance group / trace |
shape |
- optional shape - should be passed as a nammed column in source data. |
returns Plotly scatter plot showing fold change vs p value colored by significance group
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.