- seu
a Seurat object.
- reduction
a optional string, dimensional reduction name, `cofast` by default.
- cluster.name
an optional string, specify the colname in meta.data for clusters, `cofast.cluster` by default.
- res
a positive real, speficy the resolution parameter for Louvain clustering, default as 0.8.
- K
a positive integer or NULL, specify the number of clusters, default as NULL that indicates not specify the number of clusters.
- res.start
a positive real, when K is not NULL, starting value of resolution to be searched, default as 0.2.
- res.end
a positive real, when K is not NULL, ending value of resolution to be searched, default as 2.
- step
a positive real, when K is not NULL, step size of resolution to be searched, default as 0.02.