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
Error in SummarizedExperiment::SummarizedExperiment(assays = assay_mats, : the rownames and colnames of the supplied assay(s) must be NULL or identical to those of the SummarizedExperiment object (or derivative) to construct#96
Open
multimeric opened this issue
Mar 8, 2023
· 2 comments
I believe this error indicates that the order of either the sample or feature metadata table doesn't align with the assay matrix.
Does your dataset contain multiple assays (i.e., is there more than 1 array within /vast/scratch/users/milton.m/soma/X)?
Would it be possible to share the data you used so we can attempt to reproduce?
It contains only one assay, but conceivably the order of labels are wrong between two different sources. If this is the case, then it's because the Python anndata -> SOMA conversion is messing with the order somehow. What command should I run to try to diagnose this? I think sending the data would be difficult at this point.
I have a
SOMA
object that I created from AnnData. It seems (?) to be valid:However, when converting to
SingleCellExperiment
(orSummarizedExperiment
, it fails:Any ideas what is happening here? My feeling is there is just a small bug in the
to_summarized_experiment()
method.The text was updated successfully, but these errors were encountered: