Skip to content

Commit

Permalink
Merge pull request #55 from dpeerlab/fix_docs
Browse files Browse the repository at this point in the history
Fix typos and update docstrings in ENVI.py
  • Loading branch information
DoronHav authored Apr 30, 2024
2 parents 4420a54 + daab959 commit 5098dad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scenvi/ENVI.py
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ def impute_genes(self):
"""
Impute full transcriptome for spatial data
:return: nothing adds 'imputation' to self.spatial_data.obsm
:return: nothing, adds 'imputation' to self.spatial_data.obsm
"""

self.spatial_data.obsm["imputation"] = pd.DataFrame(
Expand All @@ -648,7 +648,7 @@ def infer_niche_covet(self):
"""
Predict COVET representation for single-cell data
:return: nothing adds 'COVET_SQRT' and 'COVET' to self.spatial_data.obsm
:return: nothing, adds 'COVET_SQRT' and 'COVET' to self.spatial_data.obsm
"""

self.sc_data.obsm["COVET_SQRT"] = self.decode_cov(
Expand All @@ -662,7 +662,7 @@ def infer_niche_celltype(self, cell_type_key="cell_type"):
"""
Predict cell type abundence based one ENVI-inferred COVET representations
:param cell_type_key (string): key in spatial_data.obs where cell types are stored for environment composition (default 'cell_type')
:param cell_type_key: (string) key in spatial_data.obs where cell types are stored for environment composition (default 'cell_type')
:return: nothing, adds 'niche_cell_type' to self.sc_data.obsm & self.spatial_data.obsm
"""
Expand Down

0 comments on commit 5098dad

Please sign in to comment.