xprod {ptm} | R Documentation |
Computes the cross product of two vectors in three-dimensional euclidean space.
xprod(...)
... |
vectors involved in the cross product. |
For each methionyl residue taking place in a S-aromatic motif, this function computes the aromatic residue involved, the distance between the delta sulfur and the aromatic ring's centroid, as well as the angle between the sulfur-aromatic vector and the normal vector of the plane containing the aromatic ring.
This function returns a vector that is orthogonal to the plane containing the two vector used as arguments.
Juan Carlos Aledo
xprod(c(1,1,1), c(1,2,1))