How to select particular folder in a tree based on its ID.

Hi,
How to select one folder (or) root folder of the tree based on it’s Id.
Please help me.
Thanks in Advance.

mytree.select(id)

Be sure that config of tree allows selection

{
 view:"tree",
 select:true
}