Description Usage Arguments Details Value
Create heatmap image from t-values
1 | im_heatmap(tz_file, base_image, mask, thresh = 1.96, absval = FALSE)
|
tz_file |
Path to file of t-values. |
base_image |
Relative path to base image file (in |
mask |
Relative path to mask image file (in |
thresh |
The cuttoff score for significance. Defaults to p = .05, or 1.96. |
absval |
Logical. Should the absolute value of the z/t scores be taken? |
If saving graph, make sure to save the image with the exact width and height of the original images, else the heatmap values will not be placed correctly.
Returns a ggplot2
object that can be further manipulated using
ggplot2
functions, or to be saved.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.