CalcSNN: SNN Graph Construction. Adapted from Seurat.

Description Usage Arguments Value

View source: R/similarity.R

Description

SNN Graph Construction. Adapted from Seurat.

Usage

1
2
CalcSNN(data.use, k = 10, k.scale = 10, prune.SNN = 1/15,
  print.output = T)

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.

print.output

Whether or not to print output to the console

Value

Returns similarity matrix in sparse matrix format


yanwu2014/swne documentation built on Dec. 7, 2018, 8:55 a.m.