kgraph-class: An S4 class jaccard to represent a knn graph object.

kgraph-classR Documentation

An S4 class jaccard to represent a knn graph object.

Description

Class kgraph defines a kgraph object.

Slots

mat

a parase matrix object that contains the knn adjacent matrix

k

k used for constructing knn graph

file

file name that saves that knn graph

snn

knn is converted to snn graph if True

snn.prune

snn prunning. edges with weight less than snn.prune will be removed

Examples

data(demo.sp);
demo.sub.sp = demo.sp[1:5,]


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