getLayerForest <- function( ancestryForestObj = list() ) {
sapply(ancestryForestObj, function(z) c(1, sapply(z[-1], length) + 1))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.