perform.reduction.kmeans.Rd
Performs Kmeans/PAM clustering on defined method-assays a defined reduction.
perform.reduction.kmeans(
object,
assay,
reduction = NULL,
dims = NULL,
k = NULL,
cluster.df.name.suffix = "",
method = "kmeans",
...
)
IBRAP S4 class object
Character. String containing indicating which assay to use
Character. Which reduction(s) within the assay should be supplied. Default = NULL
Numerical. How many dimensions of the reduction should be supplied.Default = NULL
Numerical. How many clusters should the algorithm identify, this can be a range. Default = NULL
Which algorithm should be used, options: 'kmeans', 'pam'. Default = 'kmeans
Arguments to be passed to either base::kmeans or cluster::pam, depending on the defined method
Character. What to call the df contained in clusters.
Cluster assignments using the list of resolutions provided contained within cluster_assignments under assignment.df.name