[Bogdanowicz and Krzysztof Giaro 2022](https://doi.org/10.1089/cmb.2022.0090) give a straightforward method; perhaps also consider comparing with their Jaccard-MC metrics.