converting mouse to touch control

Am I missing anything in the equation

converting my mouse control script:

void Update ()
{
batPos.y = minY + Input.mousePosition.y / Res * deltaY;
gameObject.transform.position = batPos;

in Pong.

To touch control:

void Update ()
{
// we find the height we have to go up from minY
batPos.y = minY + Touch.tapCount > 0 / Res * deltaY;
gameObject.transform.position = batPos;

Really new at this any help and/or tutorials would be helpful.

Its in local space. The mouse control drags the panel (In PONG) vertically just fine when using the mouse cursor, I just want to make it do the same when dragged by a finger touch on mobile. Apologies if it was a vague question.

Sorry if its a dumb question.