mysisal <- function(Y, K, topN){
Y.norm = simplenormalize(Y)
sisalres = sisal(t(Y.norm), p = K, iters = 100)
corner = sisalres$endpoints
distances = sisalres$distances
estProp = CornerToEstProp(corner)
selMarker = CornerToMarker(distances, topN)
return(list(estProp = estProp,selMarker = selMarker))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.