Dissecting gene regulation at the RNA and chromatin levels