ggadonis.table: Transform data frame to a ggplot object table, which can be...

Description Usage Arguments Value Author(s) Examples

View source: R/ggadonis.table.R

Description

Transform data frame to a ggplot object table, which can be inserted to a ggplot graph

Usage

1

Arguments

table

a data frame table

Value

a ggplot2 object

Author(s)

Zhonghui Gai

Examples

1
2
3
4
5
6
g <- ggadonis.table(table = adonis.pairwise(iris[,1:4],iris$Species))
ggplot(data = data.frame(x = 1:10, y = 1:10), aes(x,y)) + geom_point() +
theme_bw() +
  annotation_custom(grob = g,
                    xmin = 3,xmax = 8,
                    ymin = 8,ymax = 8.5)

ZhonghuiGai/veganEx documentation built on Dec. 18, 2021, 9:20 p.m.