Learn R Programming

dispersionIndicators (version 0.1.5)

compute_individual_global: Computes Integrated Covariance Mahalanobis (ICM) distances of all individuals in PCA-reduced space, against their global barycenter reference.

Description

Computes Integrated Covariance Mahalanobis (ICM) distances of all individuals in PCA-reduced space, against their global barycenter reference.

Usage

compute_individual_global(pc_data, batch_col)

Value

A data frame with Mahalanobis distances for each individual against the global barycenter.

Arguments

pc_data

PCA-reduced data frame.

batch_col

Name of the column representing batch or group.