Skip to content

Commit

Permalink
Update docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-l-kong committed Oct 14, 2020
1 parent fd47f5a commit fa3e046
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ark/analysis/spatial_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,12 @@ def generate_cluster_matrix_results(all_data, neighbor_mat, cluster_num, exclude
Returns:
tuple (pandas.DataFrame, pandas.DataFrame):
- a matrix listing the number of cell types per cluster
- a matrix listing the mean expression of each marker per cluster
- an a x b count matrix (a = # of clusters, b = # of cell types) with
cluster ids indexed row-wise and cell types indexed column-wise,
indicates number of cluster ids a that are also of cell type b
- an a x c mean matrix (a = # of clusters, c = # of markers) with
cluster ids indexed row-wise and markers indexed column-wise,
indicates the mean marker expression for each cluster id
"""

# error checking
Expand Down

0 comments on commit fa3e046

Please sign in to comment.