Cluster cells using a SNN cluster approach.
doSNNCluster(
gobject,
name = "sNN_clus",
nn_network_to_use = "kNN",
network_name = "kNN.pca",
k = 20,
eps = 4,
minPts = 16,
borderPoints = TRUE,
return_gobject = TRUE,
set_seed = F,
seed_number = 1234
)
giotto object
name for cluster
type of NN network to use (only works on kNN)
name of kNN network to use
Neighborhood size for nearest neighbor sparsification to create the shared NN graph.
Two objects are only reachable from each other if they share at least eps nearest neighbors.
minimum number of points that share at least eps nearest neighbors for a point to be considered a core points.
should borderPoints be assigned to clusters like in DBSCAN?
boolean: return giotto object (default = TRUE)
set seed
number for seed
giotto object with new clusters appended to cell metadata
See sNNclust
from dbscan package