Learn R Programming

fingerprint (version 2.1)

cdk.lf, moe.lf, bci.lf: Functions to parse lines from fingerprint files

Description

These functions take a single line and parses it to produce a vector of integers which represents the position of the 'on' bits in a fingerprint. This allows the user to use read.fp with arbitrary fingerprint files. A new file format can be handled by defining a new line parser function. Currently the three functions process fingerprint files obtained from the CDK (http://cdk.sourceforge.net), MOE (http://chemcomp.com) and BCI (http://www.digitalchemistry.co.uk/)

Usage

cdk.lf(line)
    moe.lf(line)
    bci.lf(line)

Arguments

line
The line to parse

Value

  • A vector of integers representing 'on' bits