plot_test_network: Plots the graph used for testing

View source: R/graphtest-functions.R

plot_test_networkR Documentation

Plots the graph used for testing

Description

When using the graph_perm_test function, a graph is created. This function will plot the graph used for testing with nodes colored by sample type and edges marked as pure or mixed.

Usage

plot_test_network(graphtest)

Arguments

graphtest

The output from graph_perm_test.

Value

A ggplot object created by ggnetwork.

Examples

library(phyloseq)
data(enterotype)
gt = graph_perm_test(enterotype, sampletype = "SeqTech")
plot_test_network(gt)

jfukuyama/phyloseqGraphTest documentation built on Feb. 11, 2024, 4:09 a.m.