a character string specifying the desired database; it must be one of 'uniprot', 'metosite', 'none'.
c
center of the environment.
r
radius of the environment.
ctr
the type of control environment; it must be one of 'random', 'closest', or 'none'.
exclude
a vector containing the positions to be excluded as control.
Author
Juan Carlos Aledo
Details
The random control returns an environment center at a random position containing the same type or amino acid than the positive environment. The closest control searches for the closest position where such a type of amino acid is found and returns its environment.
References
Aledo et al. Sci Rep. 2015; 5: 16955. (PMID: 26597773)