PCoA: Automatically save PCoA plots for the selected dimension...

Description Usage Arguments Value Examples

View source: R/PCoA.R

Description

Automatically save PCoA plots for the selected dimension metrics

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
PCoA(
  Data,
  methods = c("manhattan", "bray"),
  color = c("#FF3300", "#660099", "#FFCC00", "#99CC00", "#0066CC", "#FF6600"),
  legend_position = "none",
  components = c(1, 2),
  fig_width = 24,
  fig_height = 20,
  dotsize = 3,
  names = F,
  labsize = 3,
  ellipse = T
)

Arguments

Data

uploaded data

methods

c("manhattan", "euclidean", "canberra", "clark", "bray", "kulczynski", "jaccard", "gower", "altGower", "morisita", "horn", "raup", "binomial", "mahalanobis", "chisq","chord")

color

colors used for ggplots.color=c("#FF3300","#FF6600","#FFCC00","#99CC00","#0066CC","#660099")

legend_position

legend position "none","left","right","bottom","top"

components

PCA components c(1,3)

fig_width

figure size

fig_height

figure size

dotsize

dot size

names

whether the names are to be indicated T,F

labsize

label size

ellipse

T, F

Value

PCoA plot

Examples

1
2
data(Data)
PCoA(Data,methods = c("euclidian","manhattan","bray"))

CHKim5/LMSstat documentation built on Dec. 17, 2021, 12:55 p.m.