runMagic | R Documentation |
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.
runMagic(obj, input.mat = c("gmat", "pmat", "bmat", "mmat"), step.size = 3)
obj |
A snap obj |
input.mat |
Input matrix c("bmat", "pmat", "gmat", "mmat"). |
step.size |
Number of steps for diffusion [3]. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.