Text this: Integrating representation learning, permutation, and optimization to detect lineage-related gene expression patterns