Converts a sequence profile to an alignment
Source:R/profile_to_alignment.R
profile_to_alignment.RdThis function converts a sequence profile as provided in the format of the
package {protean} to an {agvgd} alignment --- an alignment in this sense
is simply a character matrix whose elements are protein residues in
one-letter notation, rows are sequences and columns correspond to alignment
positions.
Arguments
- profile
A sequence profile object as returned by
protean::read_profile()orprotean::get_profile(). See the{protean}package at https://github.com/maialab/protean.