runMagic: Affinity Graph-based Smoothing

View source: R/runMagic.R

runMagicR Documentation

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

obj

A snap obj

input.mat

Input matrix c("bmat", "pmat", "gmat", "mmat").

step.size

Number of steps for diffusion [3].


r3fang/SnapATAC documentation built on March 29, 2022, 4:33 p.m.