annotation_showText_UI_helper: UI show annotation helper - UI sidebar string

Description Usage Arguments Value Examples

View source: R/GUI_utils.R

Description

Return a text description of an annotation for UI presentation

Usage

1

Arguments

annotProp

(list) Named list of annotation properties as created by annotation_showMethod_UI_helper()

Value

(str) Textual description of the annotation to show on UI

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Input
properties_default <- list(nbCompounds = 0,
                            nbSamples = 0,
                            uROIExist = FALSE,
                            useUROI = FALSE,
                            useFIR = FALSE,
                            isAnnotated = FALSE)

# Generate description
annotation_showText_UI_helper(properties_default)
# [[1]]
# [1] "Not annotated"
#
# [[2]]
# [1] "0 compounds"
#
# [[3]]
# [1] "0 samples"
#
# [[4]]
# [1] "updated ROI do not exist (uROI)"
#
# [[5]]
# [1] "does not use updated ROI (uROI)"
#
# [[6]]
# [1] "does not use fallback integration regions (FIR)"

peakPantheR documentation built on Nov. 8, 2020, 6:38 p.m.