I have two tables where the 'ENSG' and 'Ensembl Gene ID' columns are primary keys. I'm interested in combining the average raw counts
column to the first table based on matching primary keys.
Condition | ENSG | avg_rep |
---|---|---|
Untreated | ENSG00000281593 | 8.702268e-06 |
Treated | ENSG00000280987 | 5.444327e-06 |
Ensembl gene id | average raw counts |
---|---|
ENSG00000281593 | 3.635470e-04 |
ENSG00000280987 | 4.558828e-04 |
The end result looks something like this:
Condition | ENSG | avg_rep | average raw counts |
---|---|---|---|
Untreated | ENSG00000281593 | 8.702268e-06 | 3.635470e-04 |
Treated | ENSG00000280987 | 5.444327e-06 | 4.558828e-04 |