
Last chance! 50% off unlimited learning
Sale ends in
Extracts the sequence environment around a given position.
env.extract(prot, db = 'none', c, r, ctr = 'none', exclude = c())
either a uniprot id or a string sequence.
a character string specifying the desired database; it must be one of 'uniprot', 'metosite', 'none'.
center of the environment.
radius of the environment.
the type of control environment; it must be one of 'random', 'closest', or 'none'.
a vector containing the positions to be excluded as control.
Returns a list of two strings (environments).
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.
Aledo et al. Sci Rep. 2015; 5: 16955. (PMID: 26597773)
env.matrices(), env.Ztest() and env.plot()
# NOT RUN {
env.extract('P01009', db = 'uniprot', 271, 10, ctr = 'random')
# }
Run the code above in your browser using DataLab