Catalyzes the isomerization-deamination of galactosamine 6-phosphate to form tagatofuranose 6-phosphate and ammonium ion. D-galactosamine 6-phosphate + H2O = D-tagatopyranose 1-phosphate + NH4(+) Belongs to the SIS family. AgaS subfamily.