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
How to add loom assays to Seurat object: Error in UseMethod(generic = "as.sparse", object = x) : no applicable method for 'as.sparse' applied to an object of class "Assay"?
#7276
I had loom objects for different samples generated by velocyto, and a Seurat object that had been fully analysed (with SCTransform clustering and UMAP etc).
I was able to concatenate my loom objects into 1 object and converted it to Seurat object, but this object has not been in anyway processed (e.g., normalise etc that are typically done in scVelo pipeline).
How might I add the ambiguous, matrix, spliced, unspliced to my Seurat GEX cluster object? Do I do as below?
Doing this gave me error however "Error in UseMethod(generic = "as.sparse", object = x) : no applicable method for 'as.sparse' applied to an object of class "Assay""
The text was updated successfully, but these errors were encountered:
denvercal1234GitHub
changed the title
How to add loom assays to Seurat object?
How to add loom assays to Seurat object: Error in UseMethod(generic = "as.sparse", object = x) : no applicable method for 'as.sparse' applied to an object of class "Assay"?
May 4, 2023
It looks like you are providing full Assays to CreateAssayObject via the counts parameter. You should be able to edit your code to either of the following:
Hi there,
I had loom objects for different samples generated by
velocyto
, and a Seurat object that had been fully analysed (with SCTransform clustering and UMAP etc).I was able to concatenate my loom objects into 1 object and converted it to Seurat object, but this object has not been in anyway processed (e.g., normalise etc that are typically done in scVelo pipeline).
How might I add the ambiguous, matrix, spliced, unspliced to my Seurat GEX cluster object? Do I do as below?
Doing this gave me error however "Error in UseMethod(generic = "as.sparse", object = x) : no applicable method for 'as.sparse' applied to an object of class "Assay""
Thank you for your help!
My Seurat GEX cluster object:
My loom-converted Seurat object:
Posted zhanghao-njmu/SCP#130
The text was updated successfully, but these errors were encountered: