some questions with msstats

66 views
Skip to first unread message

Dezi Tse

unread,
Sep 7, 2019, 1:23:44 PM9/7/19
to MSstats
HI,
I finshed TMT 2 plex experiments. Can I use msstats drew heatmap or volcano with tmt datas?
If it is allowed, what should I write in IsotopeLabelType raw?
Thank you!

ting huang

unread,
Sep 8, 2019, 12:20:35 AM9/8/19
to MSstats
Yes, you can. Assuming data.res is the output from groupComparisonTMT(), try the following code:

 libarary(MSstats)
 ## profile plot
  data.res$Tvalue <-data.res$log2FC/data.res$SE
  groupComparisonPlots(data=data.res, type="VolcanoPlot", FCcutoff = 2,
                       logBase.pvalue=2)

  # Comparison Plot
  groupComparisonPlots(data=data.res, type="ComparisonPlot")

Dezi Tse

unread,
Sep 11, 2019, 6:59:35 AM9/11/19
to MSstats
Hi
I have got ComparisonPlpot and volcano plot. I try to writie a heatmap. Can I do that?
Thank you!

ting huang

unread,
Sep 11, 2019, 10:46:59 AM9/11/19
to MSstats
Yes, you can use the same function but change the type to Heatmap.

 libarary(MSstats)
 ## Heatmap of adjusted p-values for multiple comparisons
  data.res$Tvalue <-data.res$log2FC/data.res$SE
  groupComparisonPlots(data=data.res, type="Heatmap", FCcutoff = 2,
                       logBase.pvalue=2)

Dezi Tse

unread,
Sep 11, 2019, 10:17:59 PM9/11/19
to MSstats
Hi,
I used the code but it shows :
Error in groupComparisonPlots(data = test.contrast, type = "Heatmap",  : 
  At least two comparisons are needed for heatmaps.
How to fix it?  Are positive and negative two comparisons? I have 6 positive groups and 6 negative groups.
Thank you!

ting huang

unread,
Sep 13, 2019, 2:26:26 PM9/13/19
to MSstats
If the code works for volcano plot, it should be also fine for heatmap. Could you share your testing results (test.contrast)?

Best,
Ting

Dezi Tse

unread,
Sep 15, 2019, 9:39:48 PM9/15/19
to MSstats
Of course.
Thanks a lot.
test.contrast.csv

ting huang

unread,
Sep 19, 2019, 1:54:45 PM9/19/19
to MSstats
It seems that heatmap function from MSstats is not applicable to your data. Because heatmaps in MSstats require at least two comparisons but your data has only one comparison (ACO-HA). The heatmaps in MSstats is to illustrate up-/down-regulated proteins for multiple comparisons with all proteins. Each row represents each protein. Each column represents each comparison of interest. So it needs at least two columns (two comparisons).
Reply all
Reply to author
Forward
0 new messages