wp_bgfill {wikiprofiler} | R Documentation |
Fill the background of gene with color according to amount of gene expression.
Description
Generate a color array.Fill the gene then generate the legend.
Usage
wp_bgfill(
p,
value,
high = "red",
low = "blue",
legend = TRUE,
legend_x = 0.001,
legend_y = 0.94
)
Arguments
p |
p is |
value |
value is the amount of expression. |
high |
The color of highest gene. |
low |
The color of lowest gene. |
legend |
Whether you need legend. |
legend_x |
horizontal position of the legend |
legend_y |
vertical position of the legend |
Value
A 'wpplot' object
[Package wikiprofiler version 0.1.3 Index]