get_reduced_dimensions_PCA_bulk: Get principal component information to a tibble using PCA

get_reduced_dimensions_PCA_bulkR Documentation

Get principal component information to a tibble using PCA

Description

Get principal component information to a tibble using PCA

Usage

get_reduced_dimensions_PCA_bulk(
  .data,
  .element = NULL,
  .feature = NULL,
  .value = NULL,
  .dims = 2,
  top = Inf,
  of_elements = TRUE,
  transform = NULL,
  scale = FALSE,
  ...
)

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

.dims

A integer vector corresponding to principal components of interest (e.g., 1:6)

top

An integer. How many top genes to select

of_elements

A boolean

transform

A function to use to transform the data internally (e.g., log1p)

scale

A boolean

...

Further parameters passed to the function prcomp

Value

A tibble with additional columns


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