Categories are defined in _rules.yml. A category with where matches
groups whose facts (fields of groups in the extraction form, inherited
from the parent group unless set on the subgroup) have the given values:
Arguments
- groups
The
groupsarray of a study's metadata.- rules
Rules from
read_rules().
Details
group_categories:
PE: {where: {category: PE}, synonyms: [Preeclampsia]}
PE_early: {where: {category: PE, onset: early}}A category without where matches groups whose (inherited) category
field, or own name, is the category name or one of its synonyms. A
group can belong to several categories.