bandwidth_select: Select bandwidth in Gaussian kernel.

bandwidth_selectR Documentation

Select bandwidth in Gaussian kernel.

Description

This function selects bandwidth in Gaussian kernel.

Usage

bandwidth_select(expr, method)

Arguments

expr

A m gene by n location matrix of normalized gene expression matrix.

method

The method used in bandwidth selection, "SJ" usually for small sample size data, "Silverman" usually for large sample size data.

Value

A numeric value of calculated bandwidth.


shangll123/SpatialPCA documentation built on April 17, 2024, 3:15 a.m.