World No1 Rory McIlroy said that he believes there is a correlation between success at the Ryder Cup and then going onto win majors.