Mass Spectrometry Data with msbackadj

2 vues (au cours des 30 derniers jours)
Paul
Paul le 9 Jan 2015
Commenté : Luuk van Oosten le 27 Jan 2015
Hello,
Im trying to use the msbackadj function (<http://de.mathworks.com/examples/bioinfo/1636-preprocessing-raw-mass-spectrometry-data#12 Preprocessing Raw Mass Spectrometry Data>). But it doesn't work and I don't know what is the failure.
The plot looks fine and all spectras are mapped, but the msbackadj function doesn't work. Im a beginner and the best help for me with with an good example! :-)
My x-axis (mz) is function and my mass spectrometry data (sample) is in a csv-file, it consists of 200 spectras with 17000 data points.
mz: 17000x1 double
sample: 17000x200 double
if true
% code
sample = importdata('Daten.csv');
x = [0.0005:0.0005:8.5];
t = x.';
clear x;
mz = (2.5347*(t-0.169).^2);
clear t;
figure(1)
plot(mz, sample(:,:))
grid
xlabel('Masse/Ladung (m/z)');
ylabel('Intensität');
title('Massenspektren');
YB = msbackadj(mz,sample(:,:));
end
Thx for your help!
Kind regards Paul
  1 commentaire
Luuk van Oosten
Luuk van Oosten le 27 Jan 2015
Hi Paul,
Could you provide your exact error and where it occurs? If you could add a .csv file with your data, that would be very helpful as well, without it I don't know where to start... If you can provide the code in your question in the right make-up, that would also helps a lot!
Tschüs

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Biomedical Imaging dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by