NeigRepresent {RCSL} | R Documentation |
Calculate the neighbor representation of cells to the low-dimensional gene expression matrix
NeigRepresent( drData, NN.method = "KNN", Dis.method = "Euclidean", LSH.TreeNum = 30, LSH.Dim = 500, LSH.Dis = "angular", neiRatio = 0.65 )
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 |
the similarity matrix measured by neighbor representation NR
gfData <- GenesFilter(yan) res_SimS <- SimS(gfData) NeigRepresent(res_SimS$drData)