skbio.diversity.
partial_beta_diversity
(metric, counts, ids, id_pairs, validate=True, **kwargs)[source]¶Compute distances only between specified ID pairs
Note
Deprecated as of 0.5.0 for removal in 0.6.0. The return type is unstable. Developer caution is advised. The resulting DistanceMatrix object will include zeros when distance has not been calculated, and therefore can be misleading.
Parameters: |
|
---|---|
Returns: | Distances between pairs of samples indicated by id_pairs. Pairwise distances not defined by id_pairs will be 0.0. Use this resulting DistanceMatrix with caution as 0.0 is a valid distance. |
Return type: | skbio.DistanceMatrix |
Raises: |
|