Single cell matrix is often represented as gene x cell in R/Seurat, but it is represented as cell x gene in python/scanpy.

Let’s use a real example to show how to transpose between the two formats. The GEO accession page is at https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?