Dust particles in a thermophoretic trap in a plasma