skbio.stats.distance.DistanceMatrix.__contains__#

DistanceMatrix.__contains__(lookup_id)[source]#

Check if the specified ID is in the dissimilarity matrix.

Parameters:
lookup_idstr

ID to search for.

Returns:
bool

True if lookup_id is in the dissimilarity matrix, False otherwise.

See also

index