get_clusters_kmeans_bulk: Get K-mean clusters to a tibble

Description Usage Arguments Value

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,
  .abundance = NULL,
  of_samples = TRUE,
  log_transform = TRUE,
  ...
)

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 samples)

.abundance

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

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

Value

A tibble with additional columns


tidybulk documentation built on April 7, 2021, 6 p.m.