msresample error message: The MZ vector is not evenly nor linearly spaced.
古いコメントを表示
I am this error while trying to msresample a Orbi MS spectrum:
Error using msdroppedsamples (line 61) The MZ vector is not evenly nor linearly spaced.
Error in msresample (line 215) [X,Y] = msdroppedsamples(X,Y);
I know that my MZ vector is not linear and has also a lot of O intensities, that is why I want to resample it, but I dont know excatly which parameters I need to adjust, I used this: [MZH,YH] = msresample(MZ, Y, 100000,'RANGE',[150 1200], 'Uniform', false, 'Missing', true, 'showplot', true)
Thanks
2 件のコメント
Oleg Komarov
2012 年 8 月 3 日
You didnt's give us the fundamental info. What code are you using and what is your input.
As the error says, you should have linearly spaced input.
Aurelie
2012 年 8 月 3 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Genomics and Next Generation Sequencing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!