is.mol2 | R Documentation |
Checks whether its argument is an object of class ‘mol2’.
is.mol2(x)
x |
an R object. |
Tests if the object ‘x’ is of class ‘mol2’
(is.mol2
), i.e. if ‘x’ has a
“class” attribute equal to mol2
.
TRUE if x is an object of class ‘mol2’ and FALSE otherwise
read.mol2
# Read a PDB file
mol <- read.mol2( system.file("examples/aspirin.mol2", package="bio3d") )
is.mol2(mol)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.