Description Usage Arguments Details Value Author(s) Examples
A wrapper function for Seurat
's FindNeighbors
and FindClusters
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | clusKNN(
indata,
reducedDim = "UMAP",
dimColnames = c("UMAP1", "UMAP2"),
clusterAssignName = "Cluster",
distance.matrix = FALSE,
k.param = 20,
compute.SNN = TRUE,
prune.SNN = 1/15,
nn.method = "rann",
annoy.metric = "euclidean",
nn.eps = 0,
verbose = TRUE,
force.recalc = FALSE,
modularity.fxn = 1,
initial.membership = NULL,
weights = NULL,
node.sizes = NULL,
resolution = 0.8,
method = "matrix",
algorithm = 1,
n.start = 10,
n.iter = 10,
random.seed = 0,
group.singletons = TRUE,
temp.file.location = NULL,
edge.file.name = NULL,
overwrite = FALSE
)
|
indata |
A data-frame or matrix, or |
reducedDim |
A reduced dimensional component stored within |
dimColnames |
The column names of the dimensions to use. |
clusterAssignName |
The new column name in the metadata that will contain the determined cell-to-cluster assignments. |
distance.matrix |
Refer to |
k.param |
Refer to |
compute.SNN |
Refer to |
prune.SNN |
Refer to |
nn.method |
Refer to |
annoy.metric |
Refer to |
nn.eps |
Refer to |
verbose |
Refer to |
force.recalc |
Refer to |
modularity.fxn |
Refer to |
initial.membership |
Refer to |
weights |
Refer to |
node.sizes |
Refer to |
resolution |
Refer to |
method |
Refer to |
algorithm |
Refer to |
n.start |
Refer to |
n.iter |
Refer to |
random.seed |
Refer to |
group.singletons |
Refer to |
temp.file.location |
Refer to |
edge.file.name |
Refer to |
overwrite |
When the input object is a SingleCellExperiment, enabling
this will result in the overwriting, with the new cluster assignments, of
any column in your metadata that has the same name as
|
A wrapper function for Seurat's FindNeighbors and FindClusters.
A SingleCellExperiment
or numeric
object.
Kevin Blighe <kevin@clinicalbioinformatics.co.uk>
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.