Updating the geneSequence() function and adding an example to the documentation.