facmat: Converts a List of Fingerprints to a data.frame of Factors

Description Usage Arguments Value Author(s) See Also Examples

Description

This function will convert a list of fingerprint objects to a data.frame of factors with levels 1 and 0.

Usage

1

Arguments

fplist

A list structure with each element being an object of class fingerprint. These will can be constructed by hand or read from disk via fp.read

Value

A matrix with dimensions equal to (length(fplist), length(fplist))

Author(s)

Rajarshi Guha rguha@indiana.edu

See Also

distance, fp.read

Examples

1
2
3
4
5
6
# make fingerprint objects
fp1 <- new("fingerprint", nbit=6, bits=c(1,2,5,6))
fp2 <- new("fingerprint", nbit=6, bits=c(1,4,5,6))
fp3 <- new("fingerprint", nbit=6, bits=c(2,3,4,5,6))

fp.factor.matrix( list(fp1,fp2,fp3) )

fingerprint documentation built on May 2, 2019, 2:42 a.m.