Vitek-Lab / MSstats

R package - MSstats
74 stars 46 forks source link

[Anshuman] Create GroupComparisonQCPlots #135

Closed tonywu1999 closed 1 month ago

tonywu1999 commented 2 months ago

Context

The linear mixed effects models that MSstats uses assume constant variance among its residuals. However, in MS-based proteomics, the distribution of intensity values tends to be right-skewed, which can lead to residuals of a linear mixed effects model being right-skewed (violating the constant variance assumption). As a result, MSstats applies log transformation on intensities in order to transform those values from a right-skew distribution to a normal distribution, leading to a better fit model.

New Subtasks

Acceptance Criteria

QQ plots have been generated

tonywu1999 commented 1 month ago

If making a singular QQ plot for all proteins, one idea was to standardize residuals (by dividing residuals by sample variance of the linear model) and overlay to see if the extra insight is valuable.

tonywu1999 commented 1 month ago

New subtasks - apparently there is a function called modelBasedQCPlots that does this already