Skip to content

Commit

Permalink
🎨 try to set hyperlink
Browse files Browse the repository at this point in the history
  • Loading branch information
enryH committed Dec 4, 2024
1 parent bc5ab2c commit 834b54e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion acore/exploratory_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def get_coefficient_variation(data, drop_columns, group, columns=["name", "y"]):
:param list columns: names to use for the variable column(s), and for the value column(s)
:return: Pandas dataframe with columns 'name' (protein identifier), 'x' (coefficient of variation), 'y' (mean) and 'group'.
Exmaple::
Example::
result = get_coefficient_variation(data, drop_columns=['sample', 'subject'], group='group')
"""
Expand Down
8 changes: 6 additions & 2 deletions acore/multiple_testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,14 @@
# multitest.multitest_methods_names


def apply_pvalue_correction(pvalues, alpha: float = 0.05, method: str = "bonferroni"):
def apply_pvalue_correction(
pvalues: np.ndarray, alpha: float = 0.05, method: str = "bonferroni"
) -> tuple[np.ndarray, np.ndarray]:
"""
Performs p-value correction using the specified method as in
statsmodels.stats.multitest.multipletests.
statsmodels.stats.multitest.multipletests_.
.. _statsmodels.stats.multitest.multipletests: https://www.statsmodels.org/dev/generated/statsmodels.stats.multitest.multipletests.html
For more information visit
https://www.statsmodels.org/dev/generated/statsmodels.stats.multitest.multipletests.html.
Expand Down

0 comments on commit 834b54e

Please sign in to comment.