classifyBased_on_one_dimension: Classify elements of vector based on one dimension

Description Usage Arguments Value

View source: R/classifyBased_on_one_dimension.R

Description

This function classifies samples based on one dimension; e.g. PC1 from PCA

Usage

1
2
3
4
5
classifyBased_on_one_dimension(
  namedVectorOfValues,
  sorted_axis_thresholds,
  classificationNames
)

Arguments

namedVectorOfValues

A numeric vector where elements are named. Elements could be sample names.

sorted_axis_thresholds

Thresholds along the axis on which classification is based.

classificationNames

A character vector, naming the intervals of axis that are detrmined by the thresholds.

Value

A data frame where elements of namedVectorOfValues are classified


msxakk89/dat documentation built on Aug. 3, 2020, 6:39 p.m.