plot_test_network: Plots the graph used for testing

Description Usage Arguments Value Examples

View source: R/graphtest-functions.R

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

1
plot_test_network(graphtest)

Arguments

graphtest

The output from graph_perm_test.

Value

A ggplot object created by ggnetwork.

Examples

1
2
3
4
library(phyloseq)
data(enterotype)
gt = graph_perm_test(enterotype, sampletype = "SeqTech")
plot_test_network(gt)

phyloseqGraphTest documentation built on Feb. 7, 2020, 5:07 p.m.