Replaces gaps with the average of the column
取代与列的平均差距
译者:生物统计家园网 机器人LoveR
描述----------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----------
average_cols_aap(x,y)
参数----------Arguments----------
参数:x
Matrix representation of alignment generated by convert\_aln\_AAP
矩阵表示对齐转换\ _aln \ _AAP
参数:y
Vector or factor that shows the group representation for each sequence in the alignment
向量或因素,显示在每个序列组表示对齐