Anatomy

Fetal sex can be diagnosed by noting the presence or absence of the Barr body in cells obtained from the amniotic fluid. What is the etiology of the Barr body?