View source: R/evaluation_metrics.R
feature_associations | R Documentation |
Three batch effect estimators for numeric features put together.
Can be used for other purposes, e.g., as a multivariate association index.
feature_associations(x, class, n_pc_max = 10, ...)
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 |
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.