Add pseudo counts to amino acid matrix based on defined groups
根据定义的组的氨基酸矩阵的伪计数
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function will add pseudo counts to binary amino acid matrix based on the defined groups. It is used to minimise the effect of small sample size. The method of Henikoff and Henikoff is used to calculate the pseudocounts An alternative method is to simply add 1 to the binary matrix
此功能将二进制氨基酸矩阵的基础上定义的组添加伪计数。它是用于小样本大小的影响减至最低。 Henikoff和Henikoff方法用于计算pseudocounts另一种方法是简单地加1的二进制矩阵
用法----------Usage----------
add_pseudo_counts(amino,groups)
参数----------Arguments----------
参数:amino
Matrix representation of alignment generated by convert\_aln\_amino
矩阵表示对齐转换\ _aln \ _amino
参数:groups
Vector or factor that shows the group representation for each sequence in the alignment
向量或因素,显示在每个序列组表示对齐
举例----------Examples----------
library(bgafun)
data(LDH.amino.gapless)
data(LDH.groups)
LDH.pseudo=LDH.amino.gapless+1
#or use the function [或使用功能]
LDH.pseudo=add_pseudo_counts(LDH.amino.gapless,LDH.groups)