MuDataSeurat icon indicating copy to clipboard operation
MuDataSeurat copied to clipboard

Error in WriteH5ADHelper(object, assay, h5, global = TRUE): no slot of name "meta.features" for this object of class "Assay5"

Open FlowerPurr opened this issue 1 year ago • 2 comments

Hello, author. I had an error converting the seruat v5 object to h5ad. MuDataSeurat::WriteH5AD(a, "a.h5ad",assay="RNA")

Error in WriteH5ADHelper(object, assay, h5, global = TRUE): no slot of name "meta.features"for this object of class "Assay5" Traceback:

1.MuDataSeurat::WriteH5AD(a, "a.h5ad", assay = "RNA") 2. MuDataSeurat::WriteH5AD(a, "a.h5ad", assay = "RNA") 3. WriteH5ADHelper(object, assay, h5, global = TRUE)

FlowerPurr avatar Feb 29 '24 02:02 FlowerPurr

I have the same problem. Did you solve it?

Mincana-Huang avatar Oct 24 '24 15:10 Mincana-Huang

@FlowerPurr @Mincana-Huang obj[['RNA']] <- as(obj[['RNA']], Class = 'Assay') obj[['ADT']] <- as(obj[['ADT']], Class = 'Assay')

shihsama avatar Mar 21 '25 11:03 shihsama