Description Usage Arguments Details Value Author(s) References See Also Examples
Returns atom block(s) from an object of class SDF or SDFset.
1 | atomblock(x)
|
x |
object of class |
...
matrix
if SDF
is provided or list
of matrices if SDFset
is provided
Thomas Girke
...
header
, atomcount
, bondblock
, datablock
, cid
, sdfid
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## SDF/SDFset instances
data(sdfsample)
sdfset <- sdfsample
sdf <- sdfset[[1]]
## Extract atome block
atomblock(sdf)
atomblock(sdfset[1:4])
## Replacement methods
sdfset[[1]][[2]][1,1] <- 999
sdfset[[1]]
atomblock(sdfset)[1:2] <- atomblock(sdfset)[3:4]
atomblock(sdfset[[1]]) == atomblock(sdfset[[3]])
view(sdfset[1:2])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.