View source: R/getScatterPlotWithSmoothing.R
getScatterPlotWithSmoothing | R Documentation |
GGplot function to generate standard volcano plot from fold change data
getScatterPlotWithSmoothing(
.data,
xVar,
yVar,
colorVar,
textVar,
smoothingMethod = "lm"
)
.data |
dataframe containing pairwise data (x vs y) |
xVar |
x variable column |
yVar |
y variable column |
colorVar |
column containing colors to apply for each point |
textVar |
column containing text values to show in tooltip |
smoothingMethod |
- nammed argument to pass to ggplot geom_smooth see ?ggplot2::geom_smooth() |
returns ggplot scatter plot showing x, y points with geom_smooth() layer added using nammed smoothing method
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.