Functions to Read Fingerprints From Files

Description reads in a set of fingerprints from a file. Fingerprint output from the CDK, MOE and BCI can be handled.

Each fingerprint is represented as a fingerprint object. returns a list structure, each element being a fingerprint object. is a utility function that reads the fingerprints directly to matrix form (columns are the bit positions and the rows are the objects whose fingerprints have been evaluated)


2'fingerprint.txt', size=1024, lf=cdk.lf, header=FALSE)'fingerprint.txt', size=1024, lf=cdk.lf, header=FALSE)



File containing the fingperprints


The bit length of the fingerprints being considered


A line reading function that parses a single line from a fingerprint file. Currently, three such functions are provided that parse the fingerprints from the output of the CDK, MOE and the BCI toolkit, respectively.


Indicates whether the first line of the fingerprint file is a header line


A list or matrix of fingerprints


Rajarshi Guha

See Also

cdk.lf, moe.lf, bci.lf

Want to suggest features or report bugs for Use the GitHub issue tracker. Vote for new features on Trello.

comments powered by Disqus