scSLAT.model.utils.calc_k_neighbor

scSLAT.model.utils.calc_k_neighbor(features, k_list)[source]

cal k nearest neighbor

Return type:

typing.Mapping

Parameters:

features

feature list to find KNN

k

list of k to find (must have 2 elements)