Learn R Programming

ChemmineR (version 2.24.2)

numBits: numBits

Description

Returns the number of bits in a fingerprint.

Usage

numBits(x)

Arguments

x
Either an FP or an FPset object.

Value

The number of bits in this fingerprint object.

Examples

Run this code
	fp = new("FP",fp=c(1,0,1,1, 0,0,1,0))
	n = numBits(fp) # == 8

Run the code above in your browser using DataLab