Plot the Significant Differences from a Permutation Test
# S3 method for tna_permutation
plot(x, colors, posCol = "#009900", negCol = "red", edge_labels = TRUE, ...)A cograph_network object containing the significant edges
(and, when show_nonsig = TRUE, the non-significant edges) according to
the permutation test, invisibly.
A tna_permutation object.
See cograph::splot().
Color for plotting edges
the difference in edge weights is positive. See cograph::splot().
Color for plotting edges when
the difference in edge weights is negative. See cograph::splot().
A logical value indicating whether edge labels should
be plotted. Defaults to TRUE.
Additional arguments passed to the permutation renderer of
cograph::splot(). In addition to the usual styling arguments, this
includes permutation-specific options such as show_nonsig (also draw
non-significant edges), show_stars (annotate edge labels with
significance stars), show_effect (annotate edge labels with effect
sizes), and the styling of non-significant edges via edge_nonsig_color,
edge_nonsig_style, and edge_nonsig_alpha.
Validation functions
bootstrap(),
deprune(),
estimate_cs(),
markov_order(),
permutation_test(),
permutation_test.group_tna(),
plot.group_tna_bootstrap(),
plot.group_tna_permutation(),
plot.group_tna_stability(),
plot.tna_bootstrap(),
plot.tna_markov_order(),
plot.tna_reliability(),
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.summary.tna_markov_order(),
print.tna_bootstrap(),
print.tna_markov_order(),
print.tna_permutation(),
print.tna_reliability(),
print.tna_stability(),
prune(),
pruning_details(),
reliability(),
reprune(),
summary.group_tna_bootstrap(),
summary.tna_bootstrap(),
summary.tna_markov_order(),
summary.tna_permutation(),
summary.tna_reliability(),
summary.tna_stability()
model_x <- tna(head(group_regulation, 200))
model_y <- tna(tail(group_regulation, 200))
# 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