The "where" entry of a tree object denotes leaves by row numbers in the "frame" object. This converts those to actual leaf numbers.
Item of class "tree".
Vector, the same length as tree$where, giving leaf numbers.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.