plot.permutes {permutes} | R Documentation |
Create a heatmap of the results of cluster-based permutation testing.
Description
Create a heatmap of the results of cluster-based permutation testing.
Usage
## S3 method for class 'permutes'
plot(
x,
type = c("LRT", "F", "t", "beta", "w2", "cluster_mass"),
breaks = NULL,
sig = NULL,
...
)
Arguments
x |
Output of |
type |
The quantity to plot. For ANOVA, the options are |
breaks |
The granularity of the labels of the x axis. Pass ‘unique(x[,2])’ to get a tick for every timepoint. Combine this trick with subsetting of your dataset, and perhaps averaging over all your dependent variables, to ‘zoom in’ on your data to help you determine precisely where significance begins and stops to occur. |
sig |
An optional column name. If specified, only cases with a value of <.05 in this column will be plotted. NULL by default, but suggested to be set to |
... |
Other arguments, which will be ignored (the ellipsis is provided for consistency with the generic plot() method). |
Value
A ggplot2 object.