#!/usr/bin/env python # coding: utf-8 # # Other cell annotations # # In this notebook, we upload cell type annotations assigned by our domain experts. These annotations were generated using markers and by interactive investigation of our .h5ad files. # # As these are derived from our .h5ad files, we'll connect them to the HISE analysis chain by chaching those files and using `hisepy.upload.upload_files()`. # In[1]: import hisepy from datetime import date # In[2]: in_file = '1eb6ca8c-b8ed-4968-b515-c954497441dc' hise_res = hisepy.reader.cache_files([in_file]) # In[6]: out_file = 'annotations/pbmc_ref_others_annotations_2024-02-29.csv' # In[7]: study_space_uuid = '64097865-486d-43b3-8f94-74994e0a72e0' title = 'Other annotations {d}'.format(d = date.today()) # In[8]: hisepy.upload.upload_files( files = [out_file], study_space_id = study_space_uuid, title = title, input_file_ids = [in_file] ) # In[9]: import session_info session_info.show() # In[ ]: