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)

phyloseqGraphTest documentation built on May 29, 2024, 11:23 a.m.