How to overcome an error 'Subscript indices must either be real positive integers or logicals' when using mspalign function'?
1 次查看(过去 30 天)
显示 更早的评论
When I'm using mspalign to align my peaks (GC-MS) then an error generated as 'Subscript indices must either be real positive integers or logicals' when using mspalign function' .I've google for any solution regarding on this error. I've found out this happen because the indices contain floating points. Unfortunately my data contains floating points for the m/z value. However, when I'm referring the example dataset use in MATLAB help, its appear to have floating point to m/z value too.I'm also change few parameters in mspalign such as quantile, estimationmethod and correctionmethod. This also doesn't work but new error appear when changing estimationmethod to regression since not enough point to calculate common grid in mz scale.
Can anyone help me understand what's going on? If you need the data I'll send to your through email or any way.
2 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Text Files 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!