CalcSNN: SNN Graph Construction. Adapted from Seurat.

View source: R/similarity.R

CalcSNNR Documentation

SNN Graph Construction. Adapted from Seurat.

Description

SNN Graph Construction. Adapted from Seurat.

Usage

CalcSNN(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


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