get_max_correlations {scITD}R Documentation

Computes the max correlation between each factor of the decomposition done using the whole dataset to each factor computed using the subsampled/bootstrapped dataset

Description

Computes the max correlation between each factor of the decomposition done using the whole dataset to each factor computed using the subsampled/bootstrapped dataset

Usage

get_max_correlations(res_full, res_sub, res_use)

Arguments

res_full

matrix Either the donor scores or loadings matrix from the original decomposition

res_sub

matrix Either the donor scores or loadings matrix from the new decomposition

res_use

character Can either be 'loadings' or 'dscores' and should correspond with the data matrix used

Value

a vector of the max correlations for each original factor


[Package scITD version 1.0.4 Index]