Learn R Programming

tna (version 0.4.0)

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

Description

Plot the Significant Differences from a Permutation Test

Usage

# S3 method for tna_permutation
plot(x, colors, ...)

Value

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

Arguments

x

A tna_permutation object.

colors

See qgraph::qgraph().

...

Arguments passed to plot_model().

Examples

Run this code
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)

Run the code above in your browser using DataLab