get_clusters_kmeans_bulk: Get K-mean clusters to a tibble

View source: R/functions.R

get_clusters_kmeans_bulkR Documentation

Get K-mean clusters to a tibble

Description

Get K-mean clusters to a tibble

Usage

get_clusters_kmeans_bulk(
  .data,
  .element = NULL,
  .feature = NULL,
  .value = NULL,
  of_elements = TRUE,
  transform = NULL,
  ...
)

Arguments

.data

A tibble

.element

A column symbol. The column that is used to calculate distance (i.e., normally genes)

.feature

A column symbol. The column that is represents entities to cluster (i.e., normally elements)

.value

A column symbol with the value the clustering is based on (e.g., 'count')

of_elements

A boolean

transform

A function to use to tranforma the data internalli (e.g., log1p)

...

Further parameters passed to the function kmeans

Value

A tibble with additional columns


stemangiola/nanny documentation built on July 29, 2023, 1:23 a.m.