Mass Spectrometry Data with msbackadj

2 visualizaciones (últimos 30 días)
Paul
Paul el 9 de En. de 2015
Comentada: Luuk van Oosten el 27 de En. de 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 comentario
Luuk van Oosten
Luuk van Oosten el 27 de En. de 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

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Biomedical Imaging en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by