I'm trying to combine these 2 tables into 1 dataframe but the issue is that the Patient Numbers don't match up.
This is roughly the first table (there's many more patients but this is the overall format)
Patient | BR |
---|---|
Patient1 | PD |
Patient10 | PR |
Patient100 | PR |
Patient102 | MR |
Patient104 | PR |
Patient105 | MR |
Patient106 | CR |
Patient107 | PR |
Patient108 | PD |
Patient11 | PD |
This is the second table, which has the RNA-Seq Genes (there's many more genes, but general format)
A1BG | A1BG.AS1 | |
---|---|---|
Patient100 | 19.6142415 | 0.03518250 |
Patient102 | 20.0754271 | 0.20839544 |
Patient105 | 13.0091690 | 0.00000000 |
Patient106 | 18.3631301 | 0.00000000 |
Patient107 | 0.0000000 | 0.00000000 |
Patient108 | 0.6060426 | 0.00000000 |
Patient10 | 10.0499299 | 0.00000000 |
Patient112 | 17.7827197 | 0.11622693 |
Patient116 | 16.1881696 | 0.09452946 |
Patient117 | 16.4916958 | 0.04433252 |
My question is How do I merge these 2 into 1 table or dataframe, so that the patients will align and their corresponding values?