omicverse.micro.Beta.braycurtis#
- Beta.braycurtis(rarefy=True)[source]#
Bray-Curtis dissimilarity matrix (samples × samples).
Convenience wrapper for
self.run('braycurtis', rarefy=...). Bray-Curtis is the de-facto default beta metric for 16S — it weights species by abundance and ranges 0 (identical) to 1 (no shared taxa). Whenrarefy=True(the default), the underlying count matrix is rarefied to a common depth before the calculation; whenFalse, raw counts are used (sensible only after CLR or proportion transforms).- Parameters:
rarefy (
bool(default:True))