forked from cox-labs/coxdocs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaveragecategories.qmd
56 lines (42 loc) · 1.55 KB
/
averagecategories.qmd
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
title: "Average categories"
author: "Cox Lab"
format:
html:
toc: true
toc-depth: 4
toc-expand: false
number-sections: true
number-depth: 4
editor: source
date: today
bibliography: references.bib
---
# General
- **Type:** - Matrix Processing
- **Heading:** - Annot. columns
- **Source code:** [AverageCategories.cs](https://github.com/JurgenCox/perseus-plugins/blob/master/PerseusPluginLib/AnnotCols/AverageCategories.cs)
# Brief description
Rows that have a common term in one of the selected categorical columns are averaged. Several different summarization methods can be selected.
```{=html}
<!-- This comment and the line above it must be preserved when editing this file!
The recommended sections are these, but they may be changed on a case by case basis.
===== Detailed description =====
===== Parameters =====
===== Theoretical background =====
===== Examples =====
Make changes only below this line! -->
```
# Parameters
## Categories
Selected categorical columns that are used to specify, which rows should be summarized (default: all categorical columns are selected).
## Average type
Selected operation that should be used to average the values of the expression columns (default: median). The operation can be selected from a predefined list of operations:
- Median
- Mean
- Sum
- Standard deviation
## Min. size
The minimal occurrence of a certain term within a categorical column so that the rows will be summarized into one row (default: 3).
# Parameter window
![](images/annot.columns-average_categories-edited.png)