Learn R Programming

EnvNJ (version 0.1.3)

env.extract: Sequence Environment Around a Given Position

Description

Extracts the sequence environment around a given position.

Usage

env.extract(seq, c, r)

Arguments

seq

a string protein sequence.

c

center of the environment.

r

radius of the environment.

Value

Returns a a strings with the extracted environment sequence.

References

Aledo et al. Sci Rep. 2015; 5: 16955. (PMID: 26597773)

See Also

env.matrices(), env.sp()

Examples

Run this code
# NOT RUN {
env.extract('ARGGQQQCATSYV', c = 8,  r = 2)
# }

Run the code above in your browser using DataLab