get_rotated_dimensions_sc: Get rotated dimensions of two principal .dims or MDS...

get_rotated_dimensions_scR Documentation

Get rotated dimensions of two principal .dims or MDS dimension of choice, of an angle

Description

Get rotated dimensions of two principal .dims or MDS dimension of choice, of an angle

Usage

get_rotated_dimensions_sc(
  .data,
  dimension_1_column,
  dimension_2_column,
  rotation_degrees,
  of_samples = T,
  dimension_1_column_rotated = NULL,
  dimension_2_column_rotated = NULL
)

Arguments

.data

A tibble

dimension_1_column

A column symbol. The column of the dimension 1

dimension_2_column

A column symbol. The column of the dimension 2

rotation_degrees

A real number between 0 and 360

of_samples

A boolean

dimension_1_column_rotated

A column symbol. The column of the dimension 1 rotated

dimension_2_column_rotated

A column symbol. The column of the dimension 2 rotated

.element

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

Value

A tibble with additional rotated columns


stemangiola/ttSc documentation built on Dec. 8, 2022, 2:37 a.m.