jc_distances
piqtree.jc_distances(aln, num_threads=None)
Compute pairwise JC distances for a given alignment.
| PARAMETER | DESCRIPTION |
|---|---|
aln
|
The alignment to compute pairwise JC distances for.
TYPE:
|
num_threads
|
Number of threads for IQ-TREE to use, by default None (uses all available threads).
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
DistanceMatrix
|
Pairwise JC distance matrix. |
Source code in src/piqtree/iqtree/_jc_distance.py
Usage
For usage, see "Calculate pairwise Jukes-Cantor distances".