SomaLogic / SomaPlotr

A highly specialized suite of standardized plotting routines based on the "Grammar of Graphics" framework of mapping variables to aesthetics used in 'ggplot2'. Graphics types are biased towards visualizing SomaScan (proteomic) data.
https://somalogic.github.io/SomaPlotr/
Other
3 stars 3 forks source link

Add new plotting feature for median normalization scale factors #15

Open stufield opened 11 months ago

stufield commented 11 months ago

Feature

Users would likely benefit from a simple plotting routine to plot normalization scale factors (by group). To identify potential bias in the sample groups that might skew analyses.

R code

This would involve porting over some functionality from SomaLogic's internal code base, SomaNormalization.

plotMedNorm()
amanda-hi commented 11 months ago

This should be added (internally) to SomaPlot as well. When this happens, we'll need to add a lifecycle deprecation message in SomaNormalization to indicate that the function is moving to SomaPlot. In the meantime, it'll be re-exported in SomaNormalization.

Other to-do: this could be done with the ROC-plotting functions in SomaClassify as well. See #14 and #13

stufield commented 11 months ago

Do we need to add to SomaPlot (internal) as well? Or would the re-export from SomaNormalization be sufficient?