plot.b_res: Plot a b_res

plot.b_resR Documentation

Plot a b_res

Description

Plot a b_res

Usage

## S3 method for class 'b_res'
plot(
  x,
  Group,
  metadata = NULL,
  Group2 = NULL,
  mode = 1,
  bi = FALSE,
  Topn = 10,
  rate = 1,
  margin = FALSE,
  margin_label = TRUE,
  permanova_res = NULL,
  text_param = list(),
  box_margin = TRUE,
  box_param = list(),
  pal = NULL,
  sample_label = TRUE,
  stat_ellipse = TRUE,
  coord_fix = FALSE,
  bi_text_size = 3,
  ...
)

Arguments

x

a b_res object

Group

group vector for color

metadata

metadata contain Group

Group2

mapping point shape

mode

plot mode:1~3

bi

plot variables segments?

Topn

how many variables to show?

rate

segments length rate

margin

plot the margin boxplot?

margin_label

margin_label, TRUE

permanova_res

permanova result

text_param

text_param for annotate

box_margin

margin plot box or density?

box_param

box_param for group_box

pal

colors for group

sample_label

plot the labels of samples?

stat_ellipse

plot the stat_ellipse?

coord_fix

fix the coordinates y/x ratio

bi_text_size

biplot text size

...

add

Value

a ggplot

See Also

b_analyse


pctax documentation built on May 29, 2024, 10:03 a.m.