I've never seen an analysis, but I strongly suspect that height provides no advantage, but not necessarily any large disadvantage.
Power-to-weight ratio is only one parameter that's meaningful. It's most important in climbing, but matters less for time-trial specialists, roleurs and sprinters. Absolute power, aerobic efficiency (VO2 max), recovery ability and many other factors matter.
Although there's a range of sizes in the pro peleton, my impression is that pro cyclists are on the small end of average. They are certainly shorter on average than pros in sports where height really matters (baseball, football, even soccer).
The tallest Tour de France winner was Bradley Wiggins at 6'3" last year; tallest previous winner was Miguel Indurain at 6'2". They'd be little guys in many other pro sports. Armstrong is about 5'10", same for Contador, Merckx a hair over 6'.