Usage
### Tranlastion of Cartesian coordinates:
Txyz(...)
## S3 method for class 'coords':
Txyz(obj, x = 0, y = 0, z = 0, mask = TRUE, thickness = NULL, cryst1 = NULL, \dots)
## S3 method for class 'pdb':
Txyz(obj, x = 0, y = 0, z = 0, mask = TRUE, thickness = NULL, cryst1 = obj$cryst1, \dots)### Tranlastion of fractional coordinates:
Tabc(...)
## S3 method for class 'coords':
Tabc(obj, a = 0, b = 0, c = 0, mask = TRUE, thickness = NULL, cryst1 = NULL, \dots)
## S3 method for class 'pdb':
Tabc(obj, a = 0, b = 0, c = 0, mask = TRUE, thickness = NULL, cryst1 = obj$cryst1, \dots)
Arguments
obj
an R object containing atomic coordinates.
x
the x-component of the translation vector.
y
the y-component of the translation vector.
z
the z-component of the translation vector.
a
the a-component of the translation vector.
b
the b-component of the translation vector.
c
the c-component of the translation vector.
mask
a logical vector indicating the set of coordinates to which to apply the translation.
thickness
a numeric value indicating the fraction of the thicknees of the selected atom to be added to the translation vector (Usually 0, 0.5 or 1. See details).
cryst1
an object of class cryst1 use to convert Cartesian into fraction coordinates (or Vis Versa) when need.
...
further arguments passed to or from other methods.