Description Usage Arguments Examples
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
1 | add_pseudo_counts(amino,groups)
|
amino |
Matrix representation of alignment generated by convert\_aln\_amino |
groups |
Vector or factor that shows the group representation for each sequence in the alignment |
1 2 3 4 5 6 | 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.