Skip to content

Error coercing GeoMx data to Seurat object #191

@generalshermanw

Description

@generalshermanw

Dear team,

I'm attempting to do a conversion between NanoStringGeoMxSet to a Seurat object using the GeoMxTools::as.Seurat() function. The relevant error is:
Error in names(v) <- row.names(x = value) : 'names' attribute [179] must be the same length as the vector [1]
Command:
seuratData <- as.Seurat(targetData, assay = NULL, normData = 'q_norm', coordinates = NULL, forceRaw = FALSE)
I think I've worked through enough that I believe the issue stems from the Seurat::AddMetaData command. However, I've hit a dead end on the debug at this point.

Would greatly appreciate your support. Thanks!

Relevant environment:

R version 4.2.2 (2022-10-31)
Platform: x86_64-pc-linux-gnu (64-bit)
other attached packages:
[1] Seurat_4.9.9.9058 SeuratObject_5.0.0 sp_2.1-1 GeomxTools_3.2.0 NanoStringNCTools_1.6.1
[6] ggplot2_3.4.4 S4Vectors_0.36.2 Biobase_2.58.0 BiocGenerics_0.44.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions