Learn R Programming

nanny (version 0.1.8)

remove_redundancy_elements_through_correlation: Drop redundant elements (e.g., elements) for which feature (e.g., genes) aboundances are correlated

Description

Drop redundant elements (e.g., elements) for which feature (e.g., genes) aboundances are correlated

Usage

remove_redundancy_elements_through_correlation(
  .data,
  .element = NULL,
  .feature = NULL,
  .value = NULL,
  correlation_threshold = 0.9,
  top = Inf,
  of_elements = TRUE,
  transform = NULL
)

Arguments

.data

A tibble

.element

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

.feature

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

.value

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

correlation_threshold

A real number between 0 and 1

top

An integer. How many top genes to select

of_elements

A boolean

transform

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

Value

A tibble with redundant elemens removed