calc.dists | R Documentation |
Compute the pairwise distance matrix of a given set of coordinates, and only retain to some selected distances
calc.dists(coord, mol.1_id = FALSE, mol.2_id = FALSE, sele = FALSE)
coord |
matrix of N atomic coordinates (N rows, 3 columns) |
mol.1_id |
vector containing the index of the first molecule for intermolecular distances only |
mol.2_id |
vector containing the index of the second molecule for intermolecular distances only |
sele |
contains the selection of distances coming from the native_contacts function |
A matrix contaning the selected distances for a frame
Stefano Mottastefano.motta@unimib.it
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.