skeleton_keys.depth_profile.apply_loadings_to_profiles#
- skeleton_keys.depth_profile.apply_loadings_to_profiles(X, loadings)#
Transform depth profiles using previously calculated loadings
- Parameters:
X (array (n_samples, n_features)) – Input data of n_samples depth profiles with n_features elements
loadings (array (n_components, n_features)) – PCA loadings that transform X to X_new
- Returns:
X_new – Transformed values
- Return type:
array (n_samples, n_components)