skbio.sequence.SubstitutionMatrix.to_dict#

SubstitutionMatrix.to_dict()[source]#

Create a 2D dictionary from the substitution matrix.

Returns:
dict of dict

2D dictionary constructed from the substitution matrix.