1
Show Posts
This section allows you to view all Show Posts made by this member. Note that you can only see Show Posts made in areas you currently have access to.
Messages - Jan Stanstrup
2
Courses and training / [COURSE] Introduction to Nutritional Metabolomics 2023
26. June 2023 - 30. June 2023
Place: Copenhagen
Info, sign-up, program:
https://phdcourses.ku.dk/DetailKursus.aspx?id=110456&sitepath=NAT
Content
The course will provide a general overview of LC-MS based untargeted metabolomics from study design to results and will be exemplified with its specific application in nutrition. It will be delivered using a mixture of lectures, hands-on data preparation and analysis, computer-based practical sessions, and discussions. Visits to wet labs and instructions on human sample preparation procedures is included but there is no practical lab work.
The students will go through common steps in a typical metabolomics study using a real-life case. This case study includes plasma (or urine) samples from a nutritional intervention. The sample preparation and analysis on UPLC-QTOF has been conducted and the students will further process and analyze the acquired data with various freeware tools (e.g. R, XCMS, MZmine etc). They will finally work on identification of relevant metabolites using manual analysis assisted by several web-based databases and structure elucidation tools. The course will conclude by presentations of reports generated by the students based on the case study.
The students should expect a fairly technical course with a strong focus on the hands-on data analysis abilities and data interpretation skills. Programming skills are not a prerequisite for entering the course and students are guided through the exercises. However, for students that are not familiar with R we expect them to explore the self-study curriculum based on short videos and texts that cover essential programming concepts.
The project work has a high workload and hence evening work can be expected during the course week.
3
R / Re: Find samples with high deviation in retentiontime, XCMS
https://github.com/sneumann/xcms/issues/551#issuecomment-1281144616
4
XCMS / Re: XCMS table results
5
R packages for metabolomics / Re: Difficulties in blank subtraction
* have the blanks in their own group for the grouping step
* Use the subset parameter in PeakGroupsParam to exclude the blanks from retention time correction models
* ...
* remove peaks only found in blanks
* blank correction
6
Other / Re: Running msconvert with R?
You at least need a space after "-v" for that to work.
Take a look at the example here: https://gitlab.com/stanstrup-work/snippets/-/blob/master/ms%20data%20conversion/msconvert_par.R
That will convert multiple files in parallel.
7
Courses and training / [COURSE] Introduction to Nutritional Metabolomics 2021
28. June 2021 - 2 .July 2021
Place: Copenhagen
Info, sign-up, program:
https://phdcourses.ku.dk/DetailKursus.aspx?id=108342&sitepath=NAT
Content
The course will provide a general overview of LC-MS based untargeted metabolomics from study design to results and will be exemplified with its specific application in nutrition. It will be delivered using a mixture of lectures, hands-on data preparation and analysis, computer-based practical sessions, and discussions. Visits to wet labs and instructions on human sample preparation procedures is included but with minimal hands-on.
The students will go through common steps in a typical metabolomics study using a real-life case. This case study includes collected plasma (or urine) samples from a nutritional intervention. The sample preparation and analysis on UPLC-QTOF has been conducted and the students will further process and analyze the acquired data with various freeware tools (e.g. R, XCMS, MZmine etc). They will finally work on identification of relevant metabolites using several web-based structure elucidation tools. The course will conclude by presentations of reports generated by the students based on the case study.
The course will be structured as initial short lectures on theory followed by hands-on exercises, which will teach the students to transfer the theoretical information to practice. The students should expect a fairly technical course with a strong focus on the hands-on data analysis abilities and data interpretation skills.
8
R / Re: Help with NMR data in R
You can find packages here: https://rformassspectrometry.github.io/metaRbolomics-book/0203-R_packages_for_metabolomics-NMR_data_handling_and_pre_processing.html
Some of them probably has some kind of tutorial.
9
R / Re: Find samples with high deviation in retentiontime, XCMS
Replace `xcms_p_POS_g_r_g` with your object.
Code: [Select]
library(xcms)
library(dplyr)
library(tidyr)
investigate_data <- tibble(rtime = rtime(xcms_p_POS_g_r_g, adjusted = FALSE, bySample = TRUE),
adjustedRtime = rtime(xcms_p_POS_g_r_g, adjusted = TRUE, bySample = TRUE),
file = basename(fileNames(xcms_p_POS_g_r_g))
) %>%
unnest(c(rtime, adjustedRtime)) %>%
mutate(diff = adjustedRtime - rtime)
investigate_data %>%
filter(abs(adjustedRtime-250)<1) %>% # <-- focus on a small RT range where the outlier is clear
group_by(file) %>%
arrange(diff) %>% # <-- use desc if looking for a positive difference
slice(1) %>%
ungroup %>%
arrange(diff) # <-- use desc if looking for a positive difference
10
MS-DIAL / Re: Processing CCS files from Waters Vion ?
11
Courses and training / [COURSE] Introduction to Nutritional Metabolomics
06 July 2020 - 10 July 2020
Place: Copenhagen
Info, sign-up, program: https://phdcourses.ku.dk/detailkursus.aspx?id=107283&sitepath=NAT
Content
The course will provide an overview of LC-MS based untargeted metabolomics and its application in nutrition. It will be delivered using a mixture of lectures, hands-on data preparation and analysis, computer-based practical sessions, and discussions. Visits to wet labs and instructions on human sample preparation procedures is included but with minimal hands-on.
The students will go through common steps in a typical metabolomics study using a real-life case. This case study includes collected plasma (or urine) samples from a nutritional intervention. The sample preparation and analysis on UPLC-QTOF has been conducted and the students will further process and analyse the acquired data with various freeware tools (e.g. R, XCMS, MZmine and Metaboanalyst). They will finally work on identification of relevant metabolites using several web-based structure elucidation tools. The course will conclude by presentations of reports generated by the students based on the case study.
The course will be structured as initial short lectures on theory followed by hands-on exercises, which will teach the students to transfer the theoretical information to practice.
12
Other / Re: Software for generating deisotoped and charge state deconvoluted MS1 peaks
The most common tools for untargeted data would be XCMS+CAMERA or MZmine. There is nothing straight forward about doing this on untargeted data though.
13
Mass spectrometry / Re: Experimental design for multiple-batch study
If you have "paired samples" where you are not interested in the differences within the pairs it can reduce variance to put them in the same batch. For example if you have several persons you might consider having the same person in the same batch for all time course samples.
But as you say. Spread evenly conditions and randomize within the batch.
Use plenty of QC samples so that you afterwards can correct for potential intra- and inter-batch drifts.
14
R / Re: XCMS in R
You can try converting your original files with msconvert from Proteowizard and add: --simAsSpectra --srmAsSpectra
15
R / Re: Looking for help: Dimensions of profile matrices do not match !
try something like this as a starting point:
Code: [Select]
missing = 200
extra = 100
If you are including very sparse samples, like artificial mixtures or blanks, you might need to go even higher.
span =1 is also very strict but should not affect the error.