This PR adds an option for the user to choose engine (read_tsv or grep) to the get_gene_expression functionality. It was found that on the GSC the grep takes 10 min to execute, while read_tsv is 40% faster (6 min). While there is a difference in speed, there is also RAM consideration to take into account, so therefore a new argument engine was added to allow user to choose different options.
This PR adds an option for the user to choose engine (read_tsv or grep) to the get_gene_expression functionality. It was found that on the GSC the grep takes 10 min to execute, while read_tsv is 40% faster (6 min). While there is a difference in speed, there is also RAM consideration to take into account, so therefore a new argument
engine
was added to allow user to choose different options.