Open stemangiola opened 2 years ago
Hi, I recently had a similar issue converting Seurat to Adata, then I looked into their annotation:
#main_layer Slot in `assay` to be converted to AnnData.X, may bE "counts", "data", "scale.data", default "data" (str)
#' @param transfer_layers If specified, convert slots to AnnData.layers[<slot>] (vector of str)
I solved my problem by setting main_layer="data" and transfer_layer = "counts". In your case I think main_layer and transfer_layers need to be different as there's one line in the function:
transfer_layers <- transfer_layers[transfer_layers != main_layer]
Here's the function page https://rdrr.io/github/cellgeni/sceasy/src/R/functions.R
Hello,
I have a singleCellExeriment
I convert to h5ad with
Then I call a third party pipeline that gives me the error, that I don't understand (I am R user only)
should I change the name of the sce assays? I also tried
With no improvements.
Any idea why a counts is expected in anndata, when counts is already an assay names counts?