Description Usage Arguments Value Author(s) Examples
The function takes one element of a list consisting of sequences (typically belonging to the split in one oligotype), and tests whether the minimum number of sequences and minimum entropy for the subalignment are met.
1 | Check.entropy.nseq(list.elt, minseq = 0, entropy.min = 0.6)
|
list.elt |
one element of a list consisting of sequences (typically belonging to the split in one oligotype. e.g. OT.list.seq[[i]] |
minseq |
the minimum number of sequences for this subalignment. |
entropy.min |
the minimum entropy threshold for this subalignment. |
The function returns a logical (TRUE/FALSE) whether both conditions are met.
A. Ramette
1 2 3 4 5 | #data(mock_env_aligned.list)
#Check.entropy.nseq(mock_env_aligned.list[[2]],minseq=21,entropy.min=0.6) # TRUE
#Check.entropy.nseq(mock_env_aligned.list[[2]],minseq=21,entropy.min=2) # FALSE
#nrow(mock_env_aligned.list[[2]]) # 2500
#Check.entropy.nseq(mock_env_aligned.list[[2]],minseq=2501,entropy.min=0.6) # FALSE
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.