Clear table row selection programatically

Hi, how do I programatically clear the table row selection (equivalent to user hitting "clear selection")?
Thanks

table1.selectRow(0);

Thx