16
16
# ' @param X_text X axis text size
17
17
# ' @param Y_lab y axis text size
18
18
# ' @param T_size Title size
19
+ # ' @param size outline size
19
20
# '
20
21
# ' @return ggboxplot
21
22
# ' @export
@@ -33,6 +34,7 @@ AS_boxplot<-function(data,
33
34
label_size = 2.88 ,
34
35
step_increase = 0.05 ,
35
36
width = 0.3 ,
37
+ size = 0.5 ,
36
38
fig_width = NA ,
37
39
fig_height = NA ,
38
40
X_text = 10 ,
@@ -118,6 +120,7 @@ AS_boxplot<-function(data,
118
120
color = " Group" ,
119
121
palette = ckey ,
120
122
add = " jitter" ,
123
+ size = size ,
121
124
order = order ,
122
125
width = width )+
123
126
ggplot2 :: scale_y_continuous(label = ecoflux :: scientific_10x )+
@@ -155,6 +158,7 @@ AS_boxplot<-function(data,
155
158
y = colnames(data [[" Data_renamed" ]])[number ],
156
159
color = " Group" ,
157
160
palette = ckey ,
161
+ size = size ,
158
162
add = " jitter" ,
159
163
order = order ,
160
164
width = width )+
@@ -234,6 +238,7 @@ AS_boxplot<-function(data,
234
238
y = colnames(data [[" Data_renamed" ]])[number ],
235
239
color = " Group" ,
236
240
palette = ckey ,
241
+ size = size ,
237
242
add = " jitter" ,
238
243
order = order ,
239
244
width = width )+
@@ -254,9 +259,8 @@ AS_boxplot<-function(data,
254
259
vjust = .5 ), # X axis text
255
260
axis.text.y = ggplot2 :: element_text(size = Y_lab ),
256
261
legend.position = legend_position )+
257
- ggpubr :: stat_pvalue_manual(stat.test , y.position = 1.05 * max(data [[" Data_renamed" ]][,number ]),
258
- step.increase = step_increase ,
259
- label = " p.adj.signif" ,
262
+ ggpubr :: stat_pvalue_manual(stat.test ,
263
+ y.position = 1.05 * max(data [[" Data_renamed" ]][,number ]), label = " p.adj.signif" ,
260
264
size = 3.5 ,
261
265
vjust = 0.05 ,
262
266
label.size = label_size ,
@@ -271,6 +275,7 @@ AS_boxplot<-function(data,
271
275
y = colnames(data [[" Data_renamed" ]])[number ],
272
276
color = " Group" ,
273
277
palette = ckey ,
278
+ size = size ,
274
279
add = " jitter" ,
275
280
order = order ,
276
281
width = width )+
0 commit comments