Learn R Programming

SnapATAC (version 1.0.0)

jaccard-class: An S4 class jaccard to represent a jaccard object.

Description

Class jaccard defines a jaccard object.

Arguments

Slots

jmat

a matrix object that contains the jaccard index similarity matrix

nmat

a matrix object that contains the normalized similarity matrix

p1

an array of numeric values indicates the coverage for rows

p2

an array of numeric values indicates the coverage for columns

norm

a logical variable indicates whether jaccard index matrix has been normalized

input.mat

a character variable indicates what matrix is used as input (i.e. "bmat", "pmat", "gmat")

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