extractDrugLargestPiSystem {Rcpi} | R Documentation

## Descriptor that Calculates the Number of Atoms in the Largest Pi Chain

### Description

Descriptor that Calculates the Number of Atoms in the Largest Pi Chain

### Usage

    extractDrugLargestPiSystem(molecules, silent = TRUE)

### Arguments

`molecules` | Parsed molucule object.
`silent` | Logical. Whether the calculating process should be shown or not, default is `TRUE`.

### Details

This descriptor calculates the number of atoms in the largest pi chain.

### Value

A data frame, each row represents one of the molecules, each column represents one feature. This function returns one column named `nAtomP`.

### Author(s)

Nan Xiao <https://nanx.me>

### Examples

    smi = system.file('vignettedata/FDAMDD.smi', package = 'Rcpi')

    mol = readMolFromSmi(smi, type = 'mol')
    dat = extractDrugLargestPiSystem(mol)
    head(dat)

[Package Rcpi version 1.16.2 Index]