AS_barplot: Automatically save barplots for all metabolites including...

Description Usage Arguments Value

View source: R/AS_barplot.R

Description

Automatically save barplots for all metabolites including asterisks for significance.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
AS_barplot(
  data,
  asterisk = "t_test",
  significant_variable_only = F,
  color = c("#FF3300", "#FF6600", "#FFCC00", "#99CC00", "#0066CC", "#660099"),
  legend_position = "none",
  order = NULL,
  tip_length = 0.01,
  label_size = 2.88,
  step_increase = 0.05,
  width = 0.3,
  fig_width = NA,
  fig_height = NA,
  X_text = 10,
  Y_text = 12,
  Y_lab = 10,
  T_size = 15,
  sig_int = c(0.05, 0.01)
)

Arguments

data

List inheriting from Allstats

asterisk

Choose asterisk to plot ("Dunn","Scheffe","u_test","t_test")

significant_variable_only

show significant variable only (T,F)

color

colors used for ggplots.

legend_position

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

order

order of the groups; order = c("A","B","C")

tip_length

significance tip length

label_size

significance label size

step_increase

significance step increase

width

bar width

fig_width

figure size

fig_height

figure size

X_text

X axis text size

Y_text

Y axis title size

Y_lab

y axis text size

T_size

Title size

sig_int

significance parameter

Value

ggbarplot


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