Skip to content

Instantly share code, notes, and snippets.

@rahulbhadani
Created June 16, 2020 17:44
Show Gist options
  • Save rahulbhadani/e17331a6023155322d19f1da51ab2489 to your computer and use it in GitHub Desktop.
Save rahulbhadani/e17331a6023155322d19f1da51ab2489 to your computer and use it in GitHub Desktop.
Reading .h5 data to get count matrix
import scanpy
ad = sc.read(filename="Zeisel.h5")
X = ad.X # X is the count matrix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment