cluster_sce | R Documentation |
Perform clustering on a SingleCellExperiment object
cluster_sce(
sce,
pc_name = "PCA",
BLUSPARAM,
cluster_column_name,
seed = NULL,
...
)
sce |
SingleCellExperiment object that requires clustering |
pc_name |
The name used to access the PCA results stored in the SingleCellExperiment object; default is "PCA" |
BLUSPARAM |
A BlusterParam object specifying the clustering algorithm to use and any additional clustering options |
cluster_column_name |
The name of the column to store the clustering results in the SCE; for naming you may want to include the type of clustering and k value of centers, e.g. 'kmeans_10' |
seed |
Seed for reproducibility of clustering results |
... |
Additional arguments to provide to 'bluster::clusterRows()' |
SingleCellExperiment object containing clustering results
## Not run:
# Perform K-means clustering with 10 centers
cluster_sce(sce, "PCA", bluster::KmeansParam(centers = 10), "kmeans_10")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.