powered by
Apply Gaussian Kernel using Laleh Haghverdi's variable sigma
applyGaussianKernelwithVariableSigma(d2, rsigmas, csigmas = NULL)
Squared distance metric
Sigmas for cells in the rows
Sigmas for cells in the columns
Returns matrix of same size as d2.
# NOT RUN { d <- applyGaussianKernelwithVariableSigma(dist, sigmas) # }
Run the code above in your browser using DataLab