2D materials in field-effect transistors: effects of pressure, temperature and e-beam irradiation