Skip to content

Commit

Permalink
Merge pull request #60 from demian1/main
Browse files Browse the repository at this point in the history
updated docs
  • Loading branch information
PauBadiaM authored Jul 30, 2023
2 parents 459b235 + c39ede5 commit e9402a5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions decoupler/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -1505,6 +1505,7 @@ def _check_assoc_plot_intputs(data, associations, cols, uns_key, obsm_key, use_X
def plot_associations(data, uns_key, associations = None, cols = None, obs_annotation_cols = None, obsm_key=None, use_X = False, layer= None, stat_col = 'p_adj', titles = ['Scores', 'Stats'], scores_kwargs = {}, stats_kwargs = {}):
"""
Create a composite plot displaying association results between scores (bottom) and summary statistics (top) using a ClusterMap.
Requires PyComplexHeatmap to be installed.
Parameters:
Expand Down
4 changes: 2 additions & 2 deletions decoupler/utils_anndata.py
Original file line number Diff line number Diff line change
Expand Up @@ -972,9 +972,9 @@ def _check_anova_inputs(data, obs_keys = None, obsm_key=None, use_X = False, lay
def get_metadata_associations(data, obs_keys = None, obsm_key=None, use_X = False, layer = None, uns_key = None, inplace = False, alpha = 0.05, method = 'fdr_bh'):

"""
Associate the data to sample metadata using ANOVA.
Associate the data to sample metadata using ANOVA. The data can be any kind of embedding stored in a layer, obsm or X matrix.
Requires statsmodels to be installed
Requires statsmodels to be installed.
Parameters
----------
Expand Down
5 changes: 5 additions & 0 deletions docs/source/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ AnnData utils:
format_contrast_results
filter_by_expr
filter_by_prop
get_metadata_associations

Omnipath wrappers:
------------------
Expand Down Expand Up @@ -104,6 +105,10 @@ Plotting
plot_filter_by_prop
plot_volcano_df
plot_targets
plot_running_score
plot_barplot_df
plot_dotplot
plot_associations

Metrics
-------
Expand Down

0 comments on commit e9402a5

Please sign in to comment.