Skip to content

plot(srn),Error in rep(rtime(z), lns) : invalid 'times' argument #24

@YUANMENG-1

Description

@YUANMENG-1

Sorry to bother!

I encountered an issue while filtering the "mse" object. There seems to be a problem with the retention times (rt). However, I have verified that the rt range I used for filtering exists within the data.Maybe other problem with the "rtime()"function?

srn <- mse |>
filterRt(rt = c(620, 640)) |>
filterMzRange(mz = c(100.300,100.330))
Filter spectra
Filter spectra

This was succeed,but error when plot

plot(srn)
Error in rep(rtime(z), lns) : invalid 'times' argument

srn
Object of class MsExperiment
Spectra: MS1 (177) MS2 (1650)
Experiment data: 5 sample(s)
Sample data links:

  • spectra: 5 sample(s) to 1827 element(s)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions