average_cols_aap: Replaces gaps with the average of the column

Description Usage Arguments Examples

Description

This function will deal with gaps in the Amino Acid Property encoding scheme It replaces gaps with the average in the column for each group, provided the column is highly occupied for that group. It will only average out over columns that have high percentage of gaps It will remove all other columns containing gaps.

Usage

1

Arguments

x

Matrix representation of alignment generated by convert\_aln\_AAP

y

Vector or factor that shows the group representation for each sequence in the alignment

Examples

1
2
3
4
5
6

bgafun documentation built on April 28, 2020, 7:56 p.m.