NeigRepresent: Calculate the neighbor representation of cells to the...

Description Usage Arguments Value Examples

View source: R/MainFunctions.R

Description

Calculate the neighbor representation of cells to the low-dimensional gene expression matrix

Usage

1
2
3
4
5
6
7
8
9
NeigRepresent(
  drData,
  NN.method = "KNN",
  Dis.method = "Euclidean",
  LSH.TreeNum = 30,
  LSH.Dim = 500,
  LSH.Dis = "angular",
  neiRatio = 0.65
)

Arguments

drData

gene expression matrix after dimensionality reduced by PCA

NN.method

the method of finding neighbors

Dis.method

the distance metric in finding neighbors

LSH.TreeNum

the tree number of LSH

LSH.Dim

the dimension in LSH

LSH.Dis

the distance metric in LSH

neiRatio

ratio of the number of selected

Value

the similarity matrix measured by neighbor representation NR

Examples

1
2
3
gfData <- GenesFilter(yan[1:100,1:15])
res_SimS <- SimS(gfData)
NeigRepresent(res_SimS$drData)

RCSL documentation built on April 19, 2021, 9:06 a.m.