The function of ENSG00000102878 (HSF4, heat shock transcription factor 4) is as follows. Heat-shock transcription factor that specifically binds heat shock promoter elements (HSE) (PubMed:22587838, PubMed:23507146). Required for denucleation and organelle rupture and degradation that occur during eye lens terminal differentiation, when fiber cells that compose the lens degrade all membrane-bound organelles in order to provide lens with transparency to allow the passage of light (By similarity). In this process, may regulate denucleation of lens fiber cells in part by activating DNASE2B transcription (By similarity). May be involved in DNA repair through the transcriptional regulation of RAD51 (PubMed:22587838). May up-regulate p53/TP53 protein in eye lens fiber cells, possibly through protein stabilization (PubMed:28981088). In the eye lens, controls the expression of alpha-crystallin B chain/CRYAB and consequently may be involved in the regulation of lysosomal acidification (By similarity). {ECO:0000250|UniProtKB:Q5CZP2, ECO:0000250|UniProtKB:Q9R0L1, ECO:0000269|PubMed:22587838, ECO:0000269|PubMed:23507146, ECO:0000269|PubMed:28981088}. [Isoform HSF4A]: Transcriptional repressor. . [Isoform HSF4B]: Transcriptional activator. .