Description Usage Arguments Value Examples
View source: R/MainFunctions.R
Calculate the neighbor representation of cells to the low-dimensional gene expression matrix
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
)
|
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
1 2 3 | gfData <- GenesFilter(yan[1:100,1:15])
res_SimS <- SimS(gfData)
NeigRepresent(res_SimS$drData)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.