fp.factor.matrix | R Documentation |
This function will convert a list
of fingerprint objects
to a data.frame
of factors with levels 1 and 0.
fp.factor.matrix(fplist)
fplist |
A list structure with each element being an object of class
|
A matrix with dimensions equal to (length(fplist), length(fplist))
Rajarshi Guha rguha@indiana.edu
distance
, fp.read
# 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) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.