I am trying to read in data downloaded from the EBI Expression Atlas into a SingleCellExperiment object. I'm using the filtered counts file as the counts, then using the experiment data tsv file as the colData. However, for some datasets, the dimensions of the colData does not match with the counts dimensions, and I get the following error:
Error in validObject(.Object) :
invalid class “SummarizedExperiment” object:
nb of cols in 'assay' (809) must equal nb of rows in 'colData' (867)
Does anyone know how to solve this problem? Any help would be greatly appreciated! If it helps, the shape of my counts is: 23598 by 809, and the shape of my experiment design is 867 by 25.