Thermoelectric property of a one dimensional channel in the presence of a transverse magnetic field