Description of the meta-data file
- Example file: example.meta.xlsx
- An xlsx file that describes each sample
- DESeq2 must have the following header and must be in the order: SAMPLE_LABEL, GROUP_LABEL, BATCH
- Dream (repeated measures) adds two columns: SAMPLE_LABEL, GROUP_LABEL, BATCH, SUBJECT, TIME. SUBJECT is the individual measured more than once. TIME is the time point. BATCH is a fixed effect when more than one batch is present, and is omitted when every sample has the same batch. Example: example_meta_dream.xlsx
- Sample labels in meta-data and count-table must be exactly the same. Any typo, or missing/additional sample labels in meta-data will stop the analysis
Dream contrasts
Dream comparisons are written in the contrast file, not in the metadata. The metadata columns GROUP_LABEL and TIME define each cell, named GROUP_TIME. In the Dream metadata example, the cells are Keloid_T0, Keloid_T6, Control_T0, and Control_T6. The example contrast file has three columns: Keloid versus Control, Keloid_T6 versus Control_T6, and Keloid_T6 versus Keloid_T0.
- Each column is one comparison. Row 1 is a label, such as contrast1. Row 2 is A, the numerator. Row 3 is B, the denominator. logFC is log2(A/B).
- A group name, such as Keloid versus Control, is tested at every time where both groups are present. The rank file keeps the contrast name and uses the first TIME level, so Keloid versus Control becomes Keloid_vs_Control at T0. Each other time is saved with _at_ and the time, such as Keloid_vs_Control_at_T6.
- A cell name compares only that group at that time. Keloid_T6 versus Control_T6 is the group difference at T6. Keloid_T6 versus Keloid_T0 is the time difference within Keloid. Each cell comparison is written once, under its contrast name.
- Several names on one side are averaged. Separate them with a semicolon, for example Keloid_T0;Keloid_T6.
- Every group name must match GROUP_LABEL. Every cell name must match a GROUP_LABEL and TIME that occur together in the metadata, joined by an underscore. A typo stops the analysis.