plot.tna_permutation: Plot the Significant Differences from a Permutation Test

plot.tna_permutationR Documentation

Plot the Significant Differences from a Permutation Test

Description

Plot the Significant Differences from a Permutation Test

Usage

## S3 method for class 'tna_permutation'
plot(x, colors, posCol = "#009900", negCol = "red", ...)

Arguments

x

A tna_permutation object.

colors

See qgraph::qgraph().

posCol

Color for plotting edges the difference in edge weights is positive. See qgraph::qgraph().

negCol

Color for plotting edges when the the difference in edge weights is negative. See qgraph::qgraph().

...

Arguments passed to plot_model().

Value

A qgraph object containing only the significant edges according to the permutation test.

See Also

Validation functions bootstrap(), deprune(), estimate_cs(), permutation_test(), permutation_test.group_tna(), plot.group_tna_bootstrap(), plot.group_tna_permutation(), plot.group_tna_stability(), plot.tna_bootstrap(), plot.tna_stability(), print.group_tna_bootstrap(), print.group_tna_permutation(), print.group_tna_stability(), print.summary.group_tna_bootstrap(), print.summary.tna_bootstrap(), print.tna_bootstrap(), print.tna_permutation(), print.tna_stability(), prune(), pruning_details(), reprune(), summary.group_tna_bootstrap(), summary.tna_bootstrap()

Examples

model_x <- tna(group_regulation[1:200, ])
model_y <- tna(group_regulation[1001:1200, ])
# Small number of iterations for CRAN
perm <- permutation_test(model_x, model_y, iter = 20)
plot(perm)


tna documentation built on June 8, 2025, 10:33 a.m.