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.5.2. 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: | metric : str or callable
counts : 2D array_like of ints or floats
ids : iterable of strs
id_pairs : iterable of tuple
validate : bool, optional
kwargs : kwargs, optional
|
---|---|
Returns: | skbio.DistanceMatrix
|
Raises: | ValueError
|