prafols / rMSI

R MSI Tools
GNU General Public License v3.0
15 stars 5 forks source link

loadImgChunk from Ids and Coord doesnt work for me. #3

Closed lmicke closed 6 years ago

lmicke commented 6 years ago

Error:


mySpectra <- rMSI::loadImgChunkFromIds(myData, c(101, 142, 230))
Error in data.frame(id = Ids, cube = icube, row = irow) : 
  arguments imply differing number of rows: 3, 0

Description

This error persists when i try to follow the quickstart guide. The Ids exists. The Data used is the example data provided. Same error happens for Coord loading. My System is Manjaro Linux, everything is up to date

lmicke commented 6 years ago

Nevermind it was a case of user to stupid(me), I loaded the data with OpenMSI() so the correct Identifier for myData was myData$img1

prafols commented 6 years ago

I'm glad you solve it. Apologizes for my late response I've been busy and not able to reproduce your issue.