This findings reveal a complex interplay of genetic and epigenetic mechanisms in PCa pathogenesis and drug resistance, centered around disrupted prostate lineage AR signaling and abnormal RFX6 expression. Here, RFX6 is linked to posterior cortical atrophy.