plot_permutations: Plots the permutation distribution

View source: R/graphtest-functions.R

plot_permutationsR Documentation

Plots the permutation distribution

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

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

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

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