align_seq_mtx2grs: Convert amino acid symbols to groups according to their...

Description Usage Arguments Value Examples

Description

This function performs a conversion of amino acid symbols to group symbols according to their properties. Implemented grouping methods are: substitution_matrix (majority of properties taken into account), polarity, size and aromaticity. "GX", where X stands for group number, are group symbols.

Usage

1
2
align_seq_mtx2grs(aligned_sequences_matrix,
  grouping_method = "substitution_matrix")

Arguments

aligned_sequences_matrix

A matrix that contains aligned sequences. It is an output of alignment2matrix function

grouping_method

A string which specifies the grouping method to be used. One of following: 'substitution_matrix', 'polarity', 'size', 'aromaticity'

Value

A matrix of size of the input matrix but with group symbols instead of amino acid symbols

Examples

1
2
3
4
5
data(alignment)
alignment = delete_isoforms(alignment)
grouping_method = "general"
aligned_sequences_matrix = alignment2matrix(alignment)
grouped = align_seq_mtx2grs(aligned_sequences_matrix,grouping_method)

michalstolarczyk/BALCONY documentation built on May 7, 2019, 6:08 a.m.