ggPCoA: PCoA plot based on ggplot2 using the bray distance

Description Usage Arguments Author(s) Examples

View source: R/ggPCoA.R

Description

PCoA plot based on ggplot2 using the bray distance

Usage

1
ggPCoA(data, pc = 12, level = 0.68, p.value = TRUE)

Arguments

data

A data frame containing the first collumn as the grouping information

pc

Which PC to present, one of 12, 13, 23, the default value is 12

level

default value is 0.68

p.value

boolean value to indicate whether to show the adonis p value, default value is TURE

Author(s)

ZhonghuiGai

Examples

1
2
3
4
data <- iris
data <- data[, c(5, 1:4)]
colnames(data)[1] <- "group"
ggPCoA(data)

ZhonghuiGai/ggpca documentation built on Dec. 18, 2021, 8:28 p.m.