Description Usage Arguments Value Examples
View source: R/create_typhoon_plot_functions.R
This function takes as input a TyphoonPlot matrix created from
GetTyphoonPlotMat
and uses the image
function to create the heatmap.
1 2 3 4 | DensDotPlot(dot.m, z_min = 0, z_max = NA, low_col = "white",
med_col = "", high_col = "blue", num_colors = 100, plot_title = "",
plot_title_line = NA, x_label = "", y_label = "", x_axt = "s",
y_axt = "s", plot_box = TRUE)
|
dot.m |
Matrix, the 2-dimensional matrix to plot |
z_min |
Numeric, the minimum intensity of the plot (default: 0) |
z_max |
Numeric, the maximum intensity of the plot. If not specified, by default the maximum will be set to the value at the 95th percentile (default: NA) |
low_col |
Character, the minimum color (default: "white") |
med_col |
Character, the middle color (optional, default: "") |
high_col |
Character, the maximum color (default: "blue") |
num_colors |
Numeric, the number of colors between low_col and high_col |
plot_title, x_label, y_label |
Character (optional, default: "" for all) |
plot_title_line |
Numeric, (optional, default: NA) |
x_axt, y_axt |
Character, "s" (default) or "n" |
plot_box |
Boolean, (default: TRUE) |
A heatmap plot utilizing the image function
1 | ## Not run: DensDotPlot(dot.m = typhoon.m, z_max = 50)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.