Here is the reshaped summary table, with patient IDs as rows, timepoints as columns, and the combined nf_id (sample_name_corrected) in the cells. I also ordered the timepoints logically (baseline → 2weeks → 12weeks → 6months → additional → PD → control) and sorted the patients numerically.
Patient Sample Summary Table
| patient_id | baseline | 2weeks | 12weeks | 6months | additional | PD | control |
|---|---|---|---|---|---|---|---|
| MCC001 | nf1105 (F032_001_BE) | nf1124 (F032_002) | nf1135 (F032_005) | nf1152 (F032_006) | – | – | – |
| MCC002 | nf1106 (F026_001_BE) | – | nf1136 (F026_002) | – | – | – | – |
| MCC003 | nf1107 (F088_003_BE) | nf1125 (F088_005) | nf1137 (F088_009) | – | nf1153 (F088_014) | – | – |
| MCC005 | nf1108 (F097_001_BE) | – | nf1138 (F097_002) | – | – | – | – |
| MCC008 | nf1109 (F031_003_BE) | nf1126 (F031_004) | nf1139 (F031_009) | – | nf1154 (F031_016) | – | – |
| MCC010 | nf1110 (F021_002_BE) | nf1127 (F021_003) | nf1140 (F021_008) | – | nf1155 (F021_009) | nf1161 (F021_007) | – |
| MCC011 | nf1111 (F055_001_BE) | nf1128 (F055_002) | – | – | – | – | – |
| MCC012 | nf1112 (F043_001_BE) | nf1129 (F043_002) | – | – | – | nf1162 (F043_003_PD) | – |
| MCC015 | nf1113 (F073_002_BE) | nf1130 (F073_003) | nf1141 (F073_008) | – | nf1156 (F073_014) | – | – |
| MCC017 | nf1114 (F079_004_BE) | nf1131 (F079_005) | nf1142 (F079_006) | – | – | – | – |
| MCC018 | nf1115 (F058_001_BE) | nf1132 (F058_002) | nf1143 (F058_004_12w) | – | nf1157 (F058_007) | nf1163 (F058_004_PD) | – |
| MCC020 | nf1116 (F094_002_BE) | nf1133 (F094_003) | nf1144 (F094_008) | – | nf1158 (F094_013) | – | – |
| MCC023 | nf1117 (F020_001_BE) | nf1134 (F020_002) | nf1145 (F020_005) | – | – | – | – |
| MCC025 | nf1118 (F015_001_BE) | – | nf1146 (F015_002) | – | nf1159 (F015_003) | – | – |
| MCC027 | nf1119 (F037_001_BE) | – | nf1147 (F037_002) | – | – | – | – |
| MCC035 | nf1120 (F086_001_BE) | – | nf1148 (F086_002) | – | nf1160 (F086_003) | – | – |
| MCC037 | nf1121 (F045_001_BE) | – | nf1149 (F045_003) | – | – | – | – |
| MCC039 | nf1122 (F099_001_BE) | – | nf1150 (F099_002) | – | – | – | – |
| MCC045 | nf1123 (F001_001_BE) | – | nf1151 (F001_002) | – | – | – | – |
| MCC9_cellline | – | – | – | – | – | – | nf1164 (MCC9_1), nf1165 (MCC9_2) |
| WaGa_cellline | – | – | – | – | – | – | nf1166 (WaGa_1), nf1167 (WaGa_2) |
Is this summary good?
Yes, this is an excellent and highly informative way to summarize longitudinal omics/clinical data. Here is why:
✅ Strengths:
- Instant Attrition/Dropout Visibility: You can immediately see which patients missed visits (e.g., MCC011 and MCC012 dropped out after 2 weeks; MCC002 missed the 2-week timepoint).
- Easy Cross-Referencing: Combining
nf_idandsample_name_correctedin one cell means you don’t have to jump back and forth between a sample manifest and a sequencing run sheet. - Unscheduled Visits Stand Out: The “additional” and “PD” columns cleanly separate unscheduled or progression samples from the core protocol timepoints, making the study design integrity easy to audit.
- Logical Sorting: Ordering timepoints chronologically (rather than alphabetically) matches how clinicians and researchers mentally map the study timeline.
⚠️ Minor Caveats & Suggestions:
- Cell Lines Mixed with Patients: The cell lines (
MCC9_cellline,WaGa_cellline) are included at the bottom. While harmless, in a strict clinical report, you might want to separate them into a small secondary table, since “control” is not a true longitudinal timepoint. - Cell Width: Combining two identifiers makes the cells slightly wide. If you plan to export this to a PDF or narrow Excel sheet, it might wrap awkwardly. (If needed, I can split this into two sub-columns per timepoint, or provide a CSV format).
- “PD” as a Timepoint: Using “PD” (Progressive Disease) as a timepoint is unconventional but clearly denotes an unscheduled sample taken at progression. Just ensure this aligns with your study’s metadata conventions (sometimes this is better labeled as
Unscheduled_PDto avoid confusion with theresponse_bestcolumn).
Would you like me to export this as a downloadable CSV, or adjust the formatting (e.g., separating the cell lines, or splitting the IDs into two lines)?