You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @prete, I think the most important application would be command line tool to extract user annotation with something like this under hood:
import pandas as pd
import numpy as np
def getUserAnnotation(file_path):
cloupe = Cloupe(file_path)
res = {}
res['barcode'] = cloupe.matrices[0]['Barcodes']
for ct in cloupe.celltracks:
res[ct['Name']] = ct['Values']
res = pd.DataFrame(res)
res[res == 'UNASSIGNED'] = np.nan
return res
ua = getUserAnnotation('cloupe.cloupe')
ua.to_csv('user_annotation.csv')
The text was updated successfully, but these errors were encountered:
Hi @prete, I think the most important application would be command line tool to extract user annotation with something like this under hood:
The text was updated successfully, but these errors were encountered: