Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

var.xyz

Pairwise Distance Variance in Cartesian Coordinates


Description

Calculate the variance of all pairwise distances in an ensemble of Cartesian coordinates.

Usage

var.xyz(xyz, weights=TRUE)
var.pdbs(pdbs, ...)

Arguments

xyz

an object of class "xyz" containing Cartesian coordinates in a matrix.

weights

logical, if TRUE weights are calculated based on the pairwise distance variance.

pdbs

a ‘pdbs’ object as object from function pdbaln.

...

arguments passed to associated functions.

Details

This function calculates the variance of all pairwise distances in an ensemble of Cartesian coordinates. The primary use of this function is to calculate weights to scale the pair force constant for NMA.

Value

Returns the a matrix of the pairwise distance variance, formated as weights if ‘weights=TRUE’.

Author(s)

Lars Skjaerven

References

Grant, B.J. et al. (2006) Bioinformatics 22, 2695–2696.

See Also


bio3d

Biological Structure Analysis

v2.4-2
GPL (>= 2)
Authors
Barry Grant [aut, cre], Xin-Qiu Yao [aut], Lars Skjaerven [aut], Julien Ide [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.