Description Usage Arguments Details Value See Also Examples
Computes normalized compression distances.
1 | ncd(seq1, seq2)
|
seq1 |
character string indicating the path to the first fasta file to be analyzed. |
seq2 |
character string indicating the path to the second fasta file to be analyzed. |
The two fasta files must be in the working directory. This function use zpaq to compress files. Thus, the zpaq software must be installed on your system and in the search path for executables if you wish to use this function. NCD = (Z(xy) - min(Z(x), Z(y))) / max(Z(x), Z(y)) Where Z(x), Z(y) and Z(xy) are the lengths of the compressed versions of seq1, seq2 and the concatenated sequences 1 and 2, respectively.
A non-negative real value reflecting the dissimilarity between seq1 and seq2.
ncdnj()
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.