Effects of genetics and altitude on lung function