seurat
seurat copied to clipboard
Load10X_Spatial with multimodal data
Hi, I have Visium slides with gene expression and antibody capture. When using Load10X_Spatial, I get the following error.
Genome matrix has multiple modalities, returning a list of matrices for this genome Error in CreateAssayObject(counts = counts, min.cells = min.cells, min.features = min.features, : No cell names (colnames) names present in the input matrix
Is this function designed to take multimodal data? I'm using Seurat_4.0.2 with R version 4.0.3. The function works beautifully on SpaceRanger output with only gene expression.
Thanks for your help.
Hi - not super sure since I can't view your data, but since Load10X_Spatial reads the counts matrices for the paths of all h5 files provided and loads them as an assay, I would imagine Load10X_Spatial should work as long as your antibody counts matrix has the proper colnames/cell names. Can you extract and recreate the matrix to have the right structure based on your gene expression data?
Hi Zhuoyan,
After I upgraded to Seurat_5.0.1, Load10X_Spatial worked beautifully. I see the gene expression and protein assays in the Seurat object.
Thanks for your help!
Julia
From: Zhuoyan Li @.> Sent: Friday, February 16, 2024 4:53 PM To: satijalab/seurat @.> Cc: Chariker, Julia @.>; Author @.> Subject: Re: [satijalab/seurat] Load10X_Spatial with multimodal data (Issue #8454)
You don't often get email from @.*** Learn why this is importanthttps://aka.ms/LearnAboutSenderIdentification CAUTION: This email originated from outside of our organization. Do not click links, open attachments, or respond unless you recognize the sender's email address and know the contents are safe.
Hi - not super sure since I can't view your data, but since Load10X_Spatial reads the counts matrices for the paths of all h5 files provided and loads them as an assay, I would imagine Load10X_Spatial should work as long as your antibody counts matrix has the proper colnames/cell names. Can you extract and recreate the matrix to have the right structure based on your gene expression data?
Reply to this email directly, view it on GitHubhttps://github.com/satijalab/seurat/issues/8454#issuecomment-1949385886, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACYK6ZIMAFD6FEHF4OHWKOLYT7IMFAVCNFSM6AAAAABDCAP2HWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBZGM4DKOBYGY. You are receiving this because you authored the thread.Message ID: @.***>