CalcKNN: kNN Graph Construction. Adapted from Seurat.

View source: R/similarity.R

CalcKNNR Documentation

kNN Graph Construction. Adapted from Seurat.

Description

kNN Graph Construction. Adapted from Seurat.

Usage

CalcKNN(data.use, k = 10, k.scale = 10)

Arguments

data.use

Features x samples matrix to use to build the SNN

k

Defines k for the k-nearest neighbor algorithm

k.scale

Granularity option for k.param

Value

Returns kNN matrix in sparse matrix format


yanwu2014/swne documentation built on Aug. 5, 2023, 4:42 a.m.