plot_test_network {phyloseqGraphTest}R 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)

[Package phyloseqGraphTest version 0.1.1 Index]