Browse code

changing the wording a bit

Federico Marini authored on 12/09/2024 09:45:14
Showing 4 changed files

... ...
@@ -111,7 +111,7 @@ pcaExplorer <- function(dds = NULL,
111 111
           "color_by",
112 112
           paste0("Select the group of samples to stratify the analysis. Can also assume multiple values"),
113 113
           "right", options = list(container = "body")),
114
-        numericInput("pca_nrgenes", label = "Nr of (most variant) genes:",
114
+        numericInput("pca_nrgenes", label = "Nr of (most variable) genes:",
115 115
                      value = 300, min = 50, max = 20000),
116 116
         shinyBS::bsTooltip(
117 117
           "pca_nrgenes", paste0(
... ...
@@ -128,7 +128,7 @@ the user can receive additional information on how to set the parameter, powered
128 128
 - **x-axis PC** - Select the principal component to display on the x axis
129 129
 - **y-axis PC** - Select the principal component to display on the y axis
130 130
 - **Group/color by** - Select the group of samples to stratify the analysis. Can also assume multiple values.
131
-- **Nr of (most variant) genes** - Number of genes to select for computing the principal components. The top n genes are
131
+- **Nr of (most variable) genes** - Number of genes to select for computing the principal components. The top n genes are
132 132
 selected ranked by their variance inter-samples
133 133
 - **Alpha** - Color transparency for the plots. Can assume values from 0 (transparent) to 1 (opaque)
134 134
 - **Labels size** - Size of the labels for the samples in the principal components plots
... ...
@@ -111,7 +111,7 @@ cat("Counts are ranging from", min(counts(values$mydds)),"to",max(counts(values$
111 111
 
112 112
 # PCA on the samples
113 113
 
114
-This plot shows how the samples are related to each other by plotting PC `r input$pc_x` vs PC `r input$pc_y`, using the top `r input$pca_nrgenes` most variant genes
114
+This plot shows how the samples are related to each other by plotting PC `r input$pc_x` vs PC `r input$pc_y`, using the top `r input$pca_nrgenes` most variable genes
115 115
 
116 116
 ```{r}
117 117
 res <- pcaplot(values$mydst,intgroup = input$color_by,ntop = input$pca_nrgenes,
... ...
@@ -166,7 +166,7 @@ By hovering over with the mouse, the user can receive additional information on
166 166
 - **x-axis PC** - Select the principal component to display on the x axis
167 167
 - **y-axis PC** - Select the principal component to display on the y axis
168 168
 - **Group/color by** - Select the group of samples to stratify the analysis. Can also assume multiple values.
169
-- **Nr of (most variant) genes** - Number of genes to select for computing the principal components. The top n genes are selected ranked by their variance inter-samples
169
+- **Nr of (most variable) genes** - Number of genes to select for computing the principal components. The top n genes are selected ranked by their variance inter-samples
170 170
 - **Alpha** - Color transparency for the plots. Can assume values from 0 (transparent) to 1 (opaque)
171 171
 - **Labels size** - Size of the labels for the samples in the principal components plots.
172 172
   This parameter also controls the size of the gene labels, which are displayed in the Genes View once the user has brushed an area in the main plot.