Skip to content

Commit

Permalink
Update t_stagate_annotated.py
Browse files Browse the repository at this point in the history
  • Loading branch information
HendricksJudy authored Dec 15, 2024
1 parent f8999bd commit e74fd99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OvStudent/Converted_Scripts_Annotated/t_stagate_annotated.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
```python
```
# Line 1: Import the omicverse library, aliased as ov. -- import omicverse as ov
# Line 3: Import the scanpy library, aliased as sc. -- import scanpy as sc
# Line 5: Set the plotting parameters for omicverse. -- ov.plot_set()
Expand Down Expand Up @@ -63,4 +63,4 @@
# Line 103: Prints the adjusted rand index of leiden_STAGATE vs ground truth. -- print('leiden_STAGATE: Adjusted rand index = %.2f' %ARI)
# Line 105: Calculates and prints Adjusted Rand Index between louvain_STAGATE labels and ground truth. -- ARI = adjusted_rand_score(obs_df['louvain_STAGATE'], obs_df['Ground Truth'])
# Line 106: Prints the adjusted rand index of louvain_STAGATE vs ground truth. -- print('louvain_STAGATE: Adjusted rand index = %.2f' %ARI)
```
```

0 comments on commit e74fd99

Please sign in to comment.