Learn R Programming

SnapATAC (version 1.0.0)

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

Description

Class kgraph defines a kgraph object.

Arguments

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

Run this code
# NOT RUN {
data(demo.sp);
demo.sub.sp = demo.sp[1:5,]

# }

Run the code above in your browser using DataLab