Nothing
#' @rdname dimred
#' @export
dimred_lle <- function(x, ndim = 3) {
if (is_sparse(x)) {
x <- as.matrix(x)
}
requireNamespace("lle")
x_sc <- t(scale(t(x)))
k <- lle::calc_k(x_sc, m = ndim)
k <- k$k[which.min(k$rho)]
space <- lle::lle(x_sc, m = ndim, k = k)$Y
.process_dimred(space, rownames(x))
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.