Extract substructure from a molecule using mask

Description

Extracts substructure from a molecule using mask.

Usage

1
substr_mask(mol, mask)

Arguments

mol

molecule

mask

mask defining substructure to be extracted

Value

Substructure

Examples

1
2
3
data("alkans74")
mol <- alkans74.mdb[[2]]
substr_mask(mol, c(1,1,0))

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.