Compute the asynchrony based on Tilted-CCA
compute_asynchrony.Rd
Compute the asynchrony based on Tilted-CCA
Arguments
- input_obj
multiSVD
class, after applyingtiltedCCA_decomposition()
- anchor_modality
numeric of
1
or2
, denoting which modality the synchrony is computed on
Value
a matrix with n
cells and 2 columns, which one column
(named asynchrony
) denotes the synchrony score (between 0 and 1, where a number closer to 1 means
the cell is synchronous between both modalities) and
(named asynchrony_rescaled
), which is simply a monotone transformation
of the first column for easier visualization