get_clusters_SNN_bulk: Get SNN shared nearest neighbour clusters to a tibble

get_clusters_SNN_bulkR Documentation

Get SNN shared nearest neighbour clusters to a tibble

Description

Get SNN shared nearest neighbour clusters to a tibble

Usage

get_clusters_SNN_bulk(
  .data,
  .element = NULL,
  .feature = NULL,
  .value,
  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.