read: Functions to Read Fingerprints From Files

Description Usage Arguments Value Author(s) See Also

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

Search within the fingerprint package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.