11# ' Constants
22# '
3- # ' Constant values used throughout miaDash panels and extensions .
3+ # ' Constant values used throughout the miaDash app .
44# '
55# ' @section Panel layout:
66# ' \describe{
77# ' \item{\code{.miaDashDefaultPanels}}{List of panel names in the default layout of miaDash.}
88# ' \item{\code{.miaDashOtherPanels}}{List of panel names not in the default layout of miaDash.}
9+ # ' \item{\code{.transformMethods}}{List of transformations applicable to assays.}
10+ # ' \item{\code{.alphaMetrics}}{List of alpha diversity metrics.}
11+ # ' \item{\code{.betaMetrics}}{List of beta diversity metrics.}
12+ # ' \item{\code{.betaMethods}}{List of beta diversity methods.}
913# ' }
1014# '
1115# ' @author Giulio Benedetti
1216# '
1317# ' @keywords internal
1418# ' @name constants
15- # ' @aliases .miaDashDefaultPanels
16- # ' .miaDashOtherPanels
19+ # ' @aliases .miaDashDefaultPanels .miaDashOtherPanels .transformMethods
20+ # ' .alphaMetrics .betaMetrics .betaMethods
1721NULL
1822
1923# ' @rdname constants
2428# ' @rdname constants
2529.miaDashOtherPanels <- c(" PrevalencePlot" , " RDAPlot" , " ScreePlot" ,
2630 " LoadingPlot" , " ColumnTreePlot" , " RowGraphPlot" , " ColumnGraphPlot" ,
27- " RowDataPlot" , " ColumnDataPlot" )
31+ " RowDataPlot" , " ColumnDataPlot" )
32+
33+ # ' @rdname constants
34+ .transformMethods <- c(" alr" , " chi.square" , " clr" , " css" , " frequency" ,
35+ " hellinger" , " log" , " log10" , " log2" , " max" , " normalize" , " pa" ,# "philr",
36+ " range" , " rank" , " rclr" , " relabundance" , " rrank" , " standardize" , " total" )
37+
38+ # ' @rdname constants
39+ .alphaMetrics <- c(" coverage_diversity" , " fisher_diversity" , " faith_diversity" ,
40+ " gini_simpson_diversity" , " inverse_simpson_diversity" ,
41+ " log_modulo_skewness_diversity" , " shannon_diversity" , " absolute_dominance" ,
42+ " dbp_dominance" , " core_abundance_dominance" , " gini_dominance" ,
43+ " dmn_dominance" , " relative_dominance" , " simpson_lambda_dominance" ,
44+ " camargo_evenness" , " pielou_evenness" , " simpson_evenness" , " evar_evenness" ,
45+ " bulla_evenness" , " ace_richness" , " chao1_richness" , " hill_richness" ,
46+ " observed_richness" )
47+
48+ # ' @rdname constants
49+ .betaMetrics <- c(" euclidean" , " bray" , " jaccard" , " unifrac" )
50+
51+ # ' @rdname constants
52+ .betaMethods <- c(" MDS" , " NMDS" , " PCA" , " RDA" )
53+ # "TSNE", "UMAP")
0 commit comments