lgatto / MSnbase

Base Classes and Functions for Mass Spectrometry and Proteomics
http://lgatto.github.io/MSnbase/
127 stars 46 forks source link

Error in register(DoparParam(), default = TRUE) : could not find function "register" #599

Closed azUserGit closed 11 months ago

azUserGit commented 11 months ago

I started working on MSnbase and getting this error after a lot of trials . Kindly let me know how to fix it

lgatto commented 11 months ago

I can't help you if you do not provide a minimum or information, such as the code you ran, and your session information. Also, be do format your issue properly.

azUserGit commented 11 months ago

files <- dir(system.file(package = "MSnbase", dir = "extdata"), full.names = TRUE, pattern = "my.mgf")

class(files) print(class(files)) print(files) rawdata <- readMgfData(files, verbose = FALSE)

While running the code I am getting this error

"Error in readMgfData(files, verbose = FALSE) : Ion headers identical."

lgatto commented 11 months ago

As the error message says, there are two ion identical ion headers.

I would advise you look into the Spectra and MsBackendMgf packages of you have mgf data. They are the new packages the team is working on.

azUserGit commented 11 months ago

Ok thanks for the clarification. I'll check it and let you know IA

On Sun, Dec 24, 2023, 4:04 AM Laurent Gatto @.***> wrote:

As the error message says, there are two ion identical ion headers.

I would advise you look into the Spectra https://rformassspectrometry.github.io/Spectra/ and MsBackendMgf https://rformassspectrometry.github.io/MsBackendMgf/ packages of you have mgf data. They are the new packages the team is working on.

— Reply to this email directly, view it on GitHub https://github.com/lgatto/MSnbase/issues/599#issuecomment-1868385566, or unsubscribe https://github.com/notifications/unsubscribe-auth/BE4B3YUNL7JZKELZ6SM74IDYK5POLAVCNFSM6AAAAABBAY4YWGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRYGM4DKNJWGY . You are receiving this because you authored the thread.Message ID: @.***>