get_clusters_kmeans_bulk: Get K-mean clusters to a tibble

Description Usage Arguments Value

View source: R/functions.R

Description

Get K-mean clusters to a tibble

Usage

1
2
3
4
5
6
7
8
9
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


nanny documentation built on July 1, 2020, 10:20 p.m.