Skip to contents

Given a correlation matrix the sample class information, calculates the median correlations of the samples within the class and between classes.

Usage

median_class_correlations(cor_matrix, sample_classes = NULL)

Arguments

cor_matrix

the sample - sample correlations

sample_classes

the sample classes as a character or factor

Value

matrix