gao-lab / Cell_BLAST

A BLAST-like toolkit for large-scale scRNA-seq data querying and annotation.
http://cblast.gao-lab.org
MIT License
82 stars 13 forks source link

how to read the dataset file #13

Closed caiquanyou closed 3 years ago

caiquanyou commented 3 years ago

@Jeff1995 Hi, I want to test the public dataset provided in https://cblast.gao-lab.org/download but how to read the h5 file,I tried scanpy but failed

Jeff1995 commented 3 years ago

You can just use

dataset = cb.data.ExprDataSet.read_dataset("filename.h5")

See example here.

caiquanyou commented 3 years ago

Thanks