runMagic: Affinity Graph-based Smoothing
Description
This function takes a snap object as input with bmat/pmat/gmat/mmat slot
and run magic - an affinity graph-based method - to smooth the signal.
Usage
runMagic(obj, input.mat = c("gmat", "pmat", "bmat", "mmat"), step.size = 3)
Arguments
input.mat
Input matrix c("bmat", "pmat", "gmat", "mmat").
step.size
Number of steps for diffusion [3].