BIMSBbioinfo / VoltRon

Spatial omic analysis toolbox for multi-resolution and multi-omic integration using image registration
http://bioinformatics.mdc-berlin.de/VoltRon/
Other
41 stars 10 forks source link

Loading in a dataset in a custom format #82

Closed pakiessling closed 8 months ago

pakiessling commented 8 months ago

Hi again,

I am trying to load in our Merfish dataset and I am running into a few problems with formVoltRon.

I have

I always get the error "Entity IDs are not matching" when I run

vr_object<- formVoltRon(data = matrix,
                        metadata = metadata,
                        coords = coordinates,
                        main.assay = "Merfish",
                        assay.type = "cell",
                        sample_name = "sample1")

All files have the same length and the same rownames.

Any ideas?

Artur-man commented 8 months ago

Hmm, that is unexpected. My test data with coordinates, metadata and matrix having the same dimensions and rownames perform well but I am currently testing other possibilities that may have cause this.

Will let you know ... meanwhile I made the following changes

Artür

Artur-man commented 8 months ago

@pakiessling Perhaps it might also help me if I get a look at the formatting of the rownames and cell IDs. Can you do a head() on rownames (or colnames in gene x cell matrix) and post it here ?

pakiessling commented 8 months ago

Ah it works now on the latest version from your repo - disregard

Artur-man commented 8 months ago

Ah no worries :) thanks a lot for the feedback <3