inst/doc/gt_vignette.R

## ---- echo = FALSE------------------------------------------------------------
library(knitr)
opts_chunk$set(fig.width = 6, fig.height = 4)

## -----------------------------------------------------------------------------
library(phyloseq)
unlist(distanceMethodList)

## -----------------------------------------------------------------------------
library(ggplot2)
# not necessary, but I like the white background with ggplot
theme_set(theme_bw())
library(phyloseqGraphTest)
data(enterotype)
enterotype

## -----------------------------------------------------------------------------
gt = graph_perm_test(enterotype,
                     sampletype = "SeqTech",
                     distance = "jaccard",
                     type = "knn",
                     knn = 1)
gt

## -----------------------------------------------------------------------------
plot_test_network(gt)

## -----------------------------------------------------------------------------
plot_permutations(gt)

Try the phyloseqGraphTest package in your browser

Any scripts or data that you put into this service are public.

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