Skip to content

Commit 6838ed4

Browse files
committed
Update default of logo_type in AALogo to 'probability'
1 parent dcc92bc commit 6838ed4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

aaanalysis/seq_analysis/_aalogo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class AALogo:
5050
"""
5151

5252
def __init__(self,
53-
logo_type: Literal["probability", "weight", "counts", "information"] = "counts"
53+
logo_type: Literal["probability", "weight", "counts", "information"] = "probability"
5454
):
5555
list_to_type = ["probability", "weight", "counts", "information"]
5656
ut.check_str_options(name="to_type", val=logo_type, list_str_options=list_to_type)

aaanalysis/seq_analysis/_aalogo_plot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@ class AALogoPlot:
4444
"""
4545

4646
def __init__(self,
47-
logo_type: Literal["probability", "weight", "counts", "information"] = "counts",
47+
logo_type: Literal["probability", "weight", "counts", "information"] = "probability",
4848
jmd_n_len: int = 10,
4949
jmd_c_len: int = 10,
5050
verbose: bool = True
5151
):
5252
"""
5353
Parameters
5454
----------
55-
logo_type : {'probability', 'weight', 'counts', 'information'}, default='counts'
55+
logo_type : {'probability', 'weight', 'counts', 'information'}, default='probability'
5656
Type of sequence logo representation:
5757
5858
- 'probability': Normalized probability distribution of amino acids.

0 commit comments

Comments
 (0)