@@ -20,7 +20,8 @@ pca_correlation_plot<-setClass(
20
20
params.components = entity(name = ' Components to plot' ,
21
21
value = c(1 ,2 ),
22
22
type = ' numeric' ,
23
- description = ' the components to be plotted e.g. c(1,2) plots component 1 on the x axis and component 2 on the y axis.'
23
+ description = ' the components to be plotted e.g. c(1,2) plots component 1 on the x axis and component 2 on the y axis.' ,
24
+ max_length = 2
24
25
)
25
26
26
27
)
@@ -79,7 +80,8 @@ pca_scores_plot<-setClass(
79
80
params.components = entity(name = ' Components to plot' ,
80
81
value = c(1 ,2 ),
81
82
type = ' numeric' ,
82
- description = ' the components to be plotted e.g. c(1,2) plots component 1 on the x axis and component 2 on the y axis.'
83
+ description = ' the components to be plotted e.g. c(1,2) plots component 1 on the x axis and component 2 on the y axis.' ,
84
+ max_length = 2
83
85
),
84
86
85
87
params.points_to_label = enum(name = ' points_to_label' ,
@@ -244,8 +246,9 @@ pca_biplot_plot<-setClass(
244
246
params.components = entity(name = ' Components to plot' ,
245
247
value = c(1 ,2 ),
246
248
type = ' numeric' ,
247
- description = ' the components to be plotted e.g. c(1,2) plots component 1 on the x axis and component 2 on the y axis.'
248
- ),
249
+ description = ' the components to be plotted e.g. c(1,2) plots component 1 on the x axis and component 2 on the y axis.' ,
250
+ max_length = 2
251
+ ),
249
252
params.points_to_label = entity(name = ' points_to_label' ,
250
253
value = ' none' ,
251
254
type = ' character' ,
@@ -380,7 +383,8 @@ pca_loadings_plot<-setClass(
380
383
params.components = entity(name = ' Components to plot' ,
381
384
value = c(1 ,2 ),
382
385
type = ' numeric' ,
383
- description = ' the components to be plotted e.g. c(1,2) plots component 1 on the x axis and component 2 on the y axis.'
386
+ description = ' the components to be plotted e.g. c(1,2) plots component 1 on the x axis and component 2 on the y axis.' ,
387
+ max_length = 2
384
388
),
385
389
params.style = enum(name = ' Plot style' ,
386
390
value = ' points' ,
0 commit comments