plot.mtpc: Plot statistics from an MTPC analysis

Description Usage Arguments Value Author(s) References Examples

View source: R/mtpc.R

Description

Plot the statistics from an MTPC analysis, along with the maximum permuted statistics. The output is similar to Figure 11 in Drakesmith et al. (2015).

Usage

1
2
3
## S3 method for class 'mtpc'
plot(x, contrast = 1L, region = NULL,
  only.sig.regions = TRUE, show.null = TRUE, caption.stats = FALSE, ...)

Arguments

x

A mtpc object

contrast

Integer specifying which contrast to plot results for (default: 1)

region

Character string specifying which region's results to plot; only relevant if level='vertex' (default: NULL)

only.sig.regions

Logical indicating whether to plot only significant regions (default: TRUE)

show.null

Logical indicating whether to plot points of the maximum null statistics (per permutation)

caption.stats

Logical indicating whether to print the MTPC statistics in the caption of the plot (default: FALSE)

...

Unused

Value

A list of ggplot objects

Author(s)

Christopher G. Watson, [email protected]

References

Drakesmith M, Caeyenberghs K, Dutt A, Lewis G, David AS, Jones DK (2015). Overcoming the effects of false positives and threshold bias in graph theoretical analyses of neuroimaging data. NeuroImage, 118:313-333.

Examples

1
2
3
4
5
6
7
8
## Not run: 
mtpcPlots <- plot(mtpc.diffs)

## Arrange plots into 3x3 grids
ml <- marrangeGrob(mtpcPlots, nrow=3, ncol=3)
ggsave('mtpc.pdf', ml)

## End(Not run)

brainGraph documentation built on May 29, 2018, 9:03 a.m.