plot_permutations: Plots the permutation distribution

Description Usage Arguments Value Examples

View source: R/graphtest-functions.R

Description

Plots a histogram of the permutation distribution of the number of pure edges and a mark showing the observed number of pure edges.

Usage

1
plot_permutations(graphtest, bins = 30)

Arguments

graphtest

The output from graph_perm_test.

bins

The number of bins to use for the histogram.

Value

A ggplot object.

Examples

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

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