Fast Get LMDS
fast_get_lmds(
W,
max_time = 2^15,
init_state,
P_ls = NULL,
correction = FALSE,
largeData = TRUE,
highres = FALSE
)
matrix; the affinity matrix.
integer; the maximum diffusion time. Default is 2^15. The actual maximum diffusion time may be shorter if all nodes converge beforehand.
matrix; the row-wise normalized expression matrix.
list; the list of diffusion operators. Default is NULL.
logical; if TRUE, adjusts the score profile by scaling the score profile by entropy and applying delta correction. Default is FALSE.
logical; if TRUE, uses fast_calculate_score_profile_largeData
. Default is TRUE.
logical; if TRUE, uses fast_calculate_score_profile_highres
. Default is FALSE.
A list containing:
data frame; the computed score profile for different diffusion times.
numeric vector; the LMDS for each row in the score profile.