gtest_heatmap | R Documentation |
Plots a heatmap showing bins for combinations of # of biomolecules present across groups. Bins are colored by the number of biomolecules falling into each bin, and have indicators for significance by g-test.
gtest_heatmap(
volcano,
pval_thresh,
show_sig,
interactive,
color_low,
color_high,
plotly_layout,
text_size,
display_count,
x_lab,
y_lab,
title_lab,
legend_lab
)
volcano |
'data.frame' produced by pmartR:::make_volcano_plot_df |
pval_thresh |
numeric value indicating the p-value threshold for significance. |
show_sig |
Boolean whether to show the visual indicator that a certain bin combination is significant by the g-test |
interactive |
passed from
|
color_low |
character string specifying the color of the gradient for low count values. |
color_high |
character string specifying the color of the gradient for high count values. |
plotly_layout |
A list of arguments, not including the plot, to be passed to plotly::layout if interactive = T. |
text_size |
An integer specifying the size of the text (number of non-missing values) within the plot. The default is 3. |
display_count |
logical value. Indicates whether the non-missing counts will be displayed on the bar plot. The default is TRUE. |
x_lab |
character string specifying the x-axis label. |
y_lab |
character string specifying the y-axis label. |
title_lab |
character string specifying the plot title. |
legend_lab |
character string specifying the legend title. |
'ggplot or plotly' object, depending on if interactive
is set
to TRUE or FALSE respectively. A g-test heatmap
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.