get_clusters_kmeans_bulk_SE {tidybulk} | R Documentation |
Get K-mean clusters to a tibble
get_clusters_kmeans_bulk_SE( .data, of_samples = TRUE, log_transform = TRUE, ... )
.data |
A tibble |
of_samples |
A boolean |
log_transform |
A boolean, whether the value should be log-transformed (e.g., TRUE for RNA sequencing data) |
... |
Further parameters passed to the function kmeans |
.abundance |
A column symbol with the value the clustering is based on (e.g., 'count') |
.feature |
A column symbol. The column that is represents entities to cluster (i.e., normally samples) |
.element |
A column symbol. The column that is used to calculate distance (i.e., normally genes) |
A tibble with additional columns