View source: R/SpatialPCA_buildKernel.R
kernel_build_sparse | R Documentation |
This function calculates kernel matrix.
kernel_build_sparse(kerneltype, location, bandwidth, tol, ncores)
kerneltype |
The type of kernel to be used, either "gaussian", or "cauchy" for cauchy kernel, or "quadratic" for rational quadratic kernel. |
location |
A n by d matrix of cell/spot location coordinates. |
bandwidth |
A numeric value of bandwidth. |
tol |
A numeric value of cut-off value when building sparse kernel matrix. |
ncores |
A integer value of number of CPU cores to use when building sparse kernel matrix. |
The sparse kernel matrix for spatial relationship between locations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.