Multichannel Landauer formula for thermoelectric transport with application to thermopower near the mobility edge | Synapse