buildSNN: Build SNN matrix

View source: R/analysis.R

buildSNNR Documentation

Build SNN matrix

Description

Build SNN matrix

Usage

buildSNN(data.use, k = 10, k.scale = 10, prune.SNN = 1/15)

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

prune.SNN

Sets the cutoff for acceptable Jaccard distances when computing the neighborhood overlap for the SNN construction.

Value

Returns similarity matrix in sparse matrix format


sqjin/CellChat documentation built on Nov. 10, 2023, 4:29 a.m.