Hi MRCIEU maintainers, this is Claire Weber with the NEI (NIH) and Dr. Emily Chew. I have been using twosamplemr for about a year and only just encountered this issue recently when using outcome data outside of the opengwas database. I obtained summary stats from FinnGen directly. I can reproduce the problem but there is no error. After running mr, the unit increase/decrease text in the exposure variable is not consistent with the SIGN of the beta value for the test. Here is a sampling of output.... Isn't it correct the sign of the beta should match the direction of the unit change of exposure? Thanks in advance for any help.
Hi MRCIEU maintainers, this is Claire Weber with the NEI (NIH) and Dr. Emily Chew. I have been using twosamplemr for about a year and only just encountered this issue recently when using outcome data outside of the opengwas database. I obtained summary stats from FinnGen directly. I can reproduce the problem but there is no error. After running mr, the unit increase/decrease text in the exposure variable is not consistent with the SIGN of the beta value for the test. Here is a sampling of output.... Isn't it correct the sign of the beta should match the direction of the unit change of exposure? Thanks in advance for any help.
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40">
id.exposure | id.outcome | outcome | exposure | method | nsnp | b | se | pval -- | -- | -- | -- | -- | -- | -- | -- | -- 8xMIjp | BGMBwb | AMD | Fasting blood insulin (BMI interaction) (unit decrease) | Simple mode | 7 | 103.8445 | 86.60262 | 0.275695 mAk4Iy | BGMBwb | AMD | Parental longevity (father's age at death) (unit increase) | MR Egger | 3 | 45.37465 | 8.929067 | 0.123697 gpN5HV | BGMBwb | AMD | Glomerular filtration rate in non diabetics (creatinine) (unit increase) | MR Egger | 4 | 30.89913 | 22.26884 | 0.299654 iCjK1B | BGMBwb | AMD | Regular attendance at a gym or sports club (unit decrease) | MR Egger | 3 | -41.5127 | 45.01285 | 0.525739 qYQIpP | BGMBwb | AMD | Regular attendance at a religious group (unit increase) | MR Egger | 5 | -31.9494 | 39.01626 | 0.472853 aqdfcR | BGMBwb | AMD | Fasting blood glucose (BMI interaction) (unit increase) | Simple mode | 13 | -24.3252 | 19.23268 | 0.22996 8tl8bC | BGMBwb | AMD | Regular attendance at a religious group (unit decrease) | MR Egger | 9 | -23.0741 | 19.49309 | 0.275164 aqdfcR | BGMBwb | AMD | Fasting blood glucose (BMI interaction) (unit increase) | Weighted median | 13 | -20.5364 | 17.74627 | 0.247181