Skip to contents

Plot method for chent objects

Usage

# S3 method for chent
plot(x, ...)

Arguments

x

The chent object to be plotted

...

Further arguments passed to grid.picture

Examples

caffeine <- chent$new("caffeine")
#> PubChem:
#> Trying to get chemical information from RDKit using PubChem_Canonical SMILES
#> CN1C=NC2=C1C(=O)N(C(=O)N2C)C
#> Error in URLencode(self$identifier): could not find function "URLencode"
print(caffeine)
#> Error in eval(expr, envir, enclos): object 'caffeine' not found
if (!is.null(caffeine$Picture)) {
  plot(caffeine)
}
#> Error in eval(expr, envir, enclos): object 'caffeine' not found