Modulation of magnetism in transition-metal-doped monolayer MoS2 by strain engineering