DavisLaboratory / standR

Spatial transcriptomics analyses and decoding in R

Home Page:https://davislaboratory.github.io/standR/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

readGeoMx error invalid 'row.names' length

RLau0 opened this issue · comments

commented

To whom it may concern,

I am having issues with readGeoMx: I used the following code:

spe<-readGeoMx("Count.tsv","Sample_anno.tsv","Feature.tsv", NegProbeName = "NegProbe-WTX",
               colnames.as.rownames =c("TargetName","SegmentDisplayName","TargetName"),
               coord.colnames = c("ROICoordinateX", "ROICoordinateY"))

But it states the following error:
Error in .rowNamesDF<-(x, value = value) : invalid 'row.names' length

The number of gene names and the order are the same for both the CountFile and the sampleAnnoFile. Furthermore, the number of samples and the order of the names are the same for the CountFile and sampleAnnoFile.

I am using R version 4.2.0 and StandR version 1.0.0 (installed from bioconductor last week)

Please can you advise on the matter. Thanks!

commented

Have resolved by using R version 4.3.1 and standR v1.4.2