Functions evaluate global and individual tests for direct effects in Mendelian randomization studies.