The halo-to-stellar mass ratio in the S4G