The determination of the pattern of genes expressed at the level of genetic transcription, under specific circumstances or in a specific cell. Description adapted from: https://www.ncbi.nlm.nih.gov/mesh/68020869.