Description Usage Arguments Value Examples
Plots a metagene profile previously calculated with metagene_profiles
. Lines show
the real profile using all data, shading indicates a bootstrapping-based confdience interval.
1 2 3 4 5 6 7 8 9 10 11 12 | plot_metagene_profiles(
df,
ylab,
color,
group,
align = "start",
ytrans = "identity",
highlightregion = list(),
highlightargs = list(),
conf.level = 0.95,
ci.alpha = 0.3
)
|
df |
A data frame created by |
ylab |
Y axis label. |
color |
Variable to use for the color scale. Defaults to |
group |
Additional grouping variable. Geoms will be grouped by |
align |
Alignment to use in X axis label. |
ytrans |
Y axis transformation. |
highlightargs |
Named list of additional parameters to pass to |
conf.level |
Confidence level to plot. |
ci.alpha |
Transparency level for the CI shading. |
exp |
Experiments to plot. Defaults to all experiments. |
higlightregion |
Regions in the plot to be highlighted. Can be either a list containing two-element numeric vectors or a two-column matrix. Rectangles spanning the entire height of the plot will be drawn between the given x positions. |
A ggplot
object.
1 2 3 4 | ## Not run:
plot_metagene_profiles(df, 'enrichment', exp, rep)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.