Usage
addResLab(x, ...)
## S3 method for class 'atoms':
addResLab(x, at.centre = TRUE, col = "black", ...)
## S3 method for class 'pdb':
addResLab(x, at.centre = TRUE, col = "black", ...)addResLab(x, ...)
## S3 method for class 'atoms':
addEleLab(x, eleid = FALSE, col = "black", ...)
## S3 method for class 'pdb':
addEleLab(x, eleid = FALSE, col = "black", ...)
info3d(...)
## S3 method for class 'atoms':
info3d(x, id = rgl.ids(), col = "black", verbose = TRUE, adj = 0, ...)
## S3 method for class 'pdb':
info3d(x, id = rgl.ids(), col = "black", verbose = TRUE, adj = 0, ...)
Arguments
x
an R object containing atomic coordinates.
at.centre
a single element logical vector indicating if residue labels have to be added only at the position of the residue's centre-of-mass instead of at each atomic position.
eleid
a single element logical vector indicating if the element ids have to be concatenated with the element names to prepare the labels.
col
the colors used to display the labels.
adj
one value specifying the horizontal adjustment, or two, specifying horizontal and vertical adjustment respectively. See rgl.texts id
vector of ID numbers of rgl items, as returned by rgl.ids. The vertexes of these items are used to display the labels.
verbose
a logical value specifying if information have to be printed to the terminal.
...
further arguments passed to or from other methods.