NeigRepresent: Calculate the neighbor representation of cells to the low-dimensional
gene expression matrix
Description
Calculate the neighbor representation of cells to the low-dimensional
gene expression matrix
Usage
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.Dis
the distance metric in LSH
neiRatio
ratio of the number of selected
Value
the similarity matrix measured by neighbor representation NR
Examples
Run this code# NOT RUN {
gfData <- GenesFilter(yan[1:100,1:15])
res_SimS <- SimS(gfData)
NeigRepresent(res_SimS$drData)
# }
Run the code above in your browser using DataLab