Scientists have developed a new method of determining gene function in a breakthrough that could have major implications for our understanding of the processes of life.