x <- read.pdb(system.file("examples/PCBM_ODCB.pdb",package="Rpdb"))
basis(x)
x <- xyz2abc(x)
basis(x)
x <- abc2xyz(x)
basis(x)
## Not run:
#
# # This example return an error because the coordinates stored
# # into the PDB file are already Cartesian coordinates.
# x <- read.pdb(system.file("examples/PCBM_ODCB.pdb",package="Rpdb"))
# x <- abc2xyz(x)
# ## End(Not run)
Run the code above in your browser using DataLab