Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

feature

Class "feature"


Description

This class represents features - arbitrary alphanumeric sequences that are used to characterize molecular substructures (though there is no real restriction to molecules). A feature is associated with an integer count, indicating the occurence of that feature in a molecule. The default value is 1.

Objects from the Class

Objects can be created by calls of the form new("feature", ...).

Slots

feature:

Object of class "character" ~ The string representation of a feature

count:

Object of class "integer" ~ The occurence of the feature. Default is 1

.Data:

???

Methods

count

signature(object = "feature"): Return the count associated with the feature

Author(s)

See Also

Examples

## create a new feature
  f <- new("feature", feature='ABCD', count=as.integer(1))

  ## modify the feature string and the count
  feature(f) <- 'UXYZ'
  count(f) <- 10

fingerprint

Functions to Operate on Binary Fingerprint Data

v3.5.7
GPL
Authors
Rajarshi Guha <rajarshi.guha@gmail.com>
Initial release
2018-01-06

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.