Calculate the covariance matrix from a normal mode object.
# S3 method for nma
cov(nma)
# S3 method for enma
cov(enma, ncore=NULL)
an nma
object as obtained from function
nma.pdb
.
an enma
object as obtained from function
nma.pdbs
.
number of CPU cores used to do the calculation.
ncore>1
requires package ‘parallel’ installed.
Returns the calculated covariance matrix (function cov.nma
), or
covariance matrices (function cov.enma
).
This function calculates the covariance matrix from a nma
object as obtained from function nma.pdb
or covariance matrices
from a enma
object as obtain from function nma.pdbs
.
Grant, B.J. et al. (2006) Bioinformatics 22, 2695--2696. Fuglebakk, E. et al. (2013) JCTC 9, 5618--5628.