View source: R/SingleCellRNASeq.R
runKNN_Graph | R Documentation |
K-nearest neighbor graph analysis
runKNN_Graph(
object,
dim_reduction_method = c("pca", "nnmf"),
useIntegrativeEmbeddings = F,
integrative_method = c("combat", "seurat", "harmony", "supervised_harmony"),
n.dims.use = 30,
n.neighbors = 5,
knn.metric = c("euclidean", "cosine"),
knn.n_trees = 50,
knn.n_threads = 1,
niter = 500L,
n.seed = 1
)
object |
The SingCellaR object. |
useIntegrativeEmbeddings |
is logical, if TRUE the embedding matrix genereated from integrative analysis will be used. |
integrative_method |
The name of an integrative method. |
n.dims.use |
The number of dimensions as the input. Default 30 |
n.neighbors |
The size of local neighborhood (in terms of number of neighboring sample points) used for manifold approximation. Default 30 |
knn.metric |
Type of distance metric to use to find nearest neighbors. |
knn.n_trees |
The number of trees for building the annoy index. Default 50 |
knn.n_threads |
The number of threads. Default 1 |
niter |
Integer scalar, the number of iterations to perform. |
n.seed |
The number of set seed. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.