viewstr: view 2D structures from SMILES string vector

Description Usage Arguments Value Examples

View source: R/viewstr.R

Description

View 2D structures from SMILES strings vector

Usage

1
2
viewstr(smis = NULL, width = 500, height = 500, nrow = 2, ncol = 2,
  legend = "")

Arguments

smis

is a SMILES strings vector to submit.

width

of the picture

height

of the picture

nrow

is the number of rows for the table of molecular depictions

ncol

is the number of columns for the table of molecular depictions

legend

is the text to appear for each molecular depiction in the top left corner

Value

a plot of requested 2D structures.

Examples

1
2
viewstr(c("c1ccc2ccc3c(NCCN(C)C)cc(nc3c2c1)", "c1ccc2ccc3c(NCCN(CC)CCCl)cc(nc3c2c1)",
 "c1ccc2ccc3c(NC(CC)CC)cc(nc3c2c1)", "c1ccc2ccc3c(c2c1)ncc(c3NCCNCC=CCCCC)"))

iqspr documentation built on Aug. 1, 2017, 9:02 a.m.