This example shows a selection of programming code document references specified in the documentRef attribute of the codeTemplate for 1 analysis method, and the programmingCode for 1 analysis and 2 outputs:
- The code template specified for the "Analysis of variance group comparison for a continuous variable" analysis method indicates that relevant R version 4.2.3 program statements can be found in the reference document identified as "anova_R". As there is no page reference, this indicates that the whole reference document contains relevant program statements.
- The programming code specification for the "Comparison of Age Group by Treatment" analysis indicates that relevant SAS version 9.4 program statements can be found in the reference document identified as "PROGRAM_CATALOG_SAS" which, in this example, is a single file containing a combined set of programs, with a bookmark created for each program. The sponsor chose to create two separate page references in order to provide a descriptive label for each.
- The programming code specification for the "Summary of TEAE by System Organ Class and Preferred Term" output indicates that relevant SAS version 9.4 program statements can be found in the reference document identified as "at14-5-01_sas". As there is no page reference, this indicates that the whole reference document contains relevant program statements.
YAML Example
methods:
- id: Mth04_ContVar_Comp_Anova
name: Analysis of variance group comparison for a continuous variable
codeTemplate:
context: R Version 4.2.3
documentRef:
referenceDocumentId: anova_R
...
...
analyses:
- id: An03_02_AgeGrp_Comp_ByTrt
name: Comparison of Age Group by Treatment
programmingCode:
context: SAS Version 9.4
documentRef:
referenceDocumentId: PROGRAM_CATALOG_SAS
pageRefs:
- refType: NamedDestination
label: Pearson chi-square macro definition
pageNames:
- PearsonDef
- refType: NamedDestination
label: Pearson macro call for age group
pageNames:
- PearsonCall-AgeGrp
...
...
outputs:
- id: Out14-3-2-1
name: Summary of TEAE by System Organ Class and Preferred Term
programmingCode:
context: SAS Version 9.4
documentRef:
referenceDocumentId: at14-5-01_sas
...
...