Skip to content

Capacity Error with readXenium() Function and Issues Combining Samples Using cbind() #48

@aasingh2

Description

@aasingh2

Hello,

Thank you for the package! I am encountering a couple of issues and would appreciate your guidance.

Issue 1: Capacity Error with readXenium()

I am working with multiple Xenium samples and can successfully read most of them using the readXenium() function. However, I receive the following error message for a few samples:
Error: Capacity error: array cannot contain more than 2147483646 bytes, have 2157274215.

It seems that this error is related to the Arrow package used to read 'parquet' files. Is there a way to resolve this issue or a workaround that you would recommend?

Issue 2: Combining Samples with cbind()

I intended to use cbind() to combine multiple samples into a single SpatialFeatureExperiment. Unfortunately, I encountered an error because my samples have different numbers of rows (e.g., differing number of control probes, antisense probes, etc.). The error is as follows:

Error in FUN(X[[i]], ...) : column(s) 'ID' in ‘mcols’ are duplicated and the data do not match

The error disappears when I use cbind() after subsetting only the genes on the Xenium gene panel (i.e., excluding the negative control probes, antisense, etc.). Is there a way to combine the samples without needing to subset them first?

Thank you for the help!

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