Defender Aaron Taylor-Sinclair has agreed a move to Wigan from Scottish Premiership side Partick Thistle.