diff --git a/OvStudent/Converted_Scripts_Annotated/t_stagate_annotated.py b/OvStudent/Converted_Scripts_Annotated/t_stagate_annotated.py index 6b17408..8ca1f9c 100644 --- a/OvStudent/Converted_Scripts_Annotated/t_stagate_annotated.py +++ b/OvStudent/Converted_Scripts_Annotated/t_stagate_annotated.py @@ -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() @@ -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) -``` \ No newline at end of file +```