feature_associations: Feature batch-effect analysis

View source: R/evaluation_metrics.R

feature_associationsR Documentation

Feature batch-effect analysis

Description

Three batch effect estimators for numeric features put together.
Can be used for other purposes, e.g., as a multivariate association index.

Usage

feature_associations(x, class, n_pc_max = 10, ...)

Arguments

x

data matrix, samples on columns

class

vector, data.frame or list where columns are categorical variables

n_pc_max

maximum number of principal components to analyze

...

extra arguments are ignored

Value

Returns a list containing the following objects:

  • associations data.frame summary of batch_sil, pcRegression ($maxR2) and DSC computed for each column of class

  • eigenvalues PC eigenvalues and percentage of explained variance from PCA


vittoriofortino84/COPS documentation built on Jan. 28, 2025, 3:16 p.m.