The fraction of dark matter within galaxies from the IllustrisTNG simulations | Synapse