env.extract | R Documentation |
Extracts the sequence environment around a given position.
env.extract(prot, db = 'none', c, r, ctr = 'none', exclude = c())
prot |
either a uniprot id or a string sequence. |
db |
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. |
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.
Returns a list of two strings (environments).
Juan Carlos Aledo
Aledo et al. Sci Rep. 2015; 5: 16955. (PMID: 26597773)
env.matrices(), env.Ztest() and env.plot()
env.extract('P01009', db = 'uniprot', 271, 10, ctr = 'random')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.