Description Usage Arguments Details Author(s) Examples

View source: R/EDA_functions.R

Draws a boxplot for each column (sample) in a SpC matrix. The SpC are previosly transformed by log2, with an offset of 0.1. If a factor is provided the boxplots are colored by factor level to better visualize the differences.

1 | ```
spc.boxplots(msms.counts,fact=NULL,minSpC=2,...)
``` |

`msms.counts` |
A SpC matrix with proteins in the rows and samples in the columns. |

`minSpC` |
All matrix cells with values below this threshold are excluded. |

`fact` |
NULL or a factor of length equal to the number of columns in the expression matrix. If provided the boxplots are colored by factor level. |

`...` |
Extra parameters passed to the plot function. |

More informative plots are obtained when excluding the cells with values below
2, the default for `minSpC`

.

Josep Gregori

1 2 3 | ```
data(msms.dataset)
spc.boxplots(exprs(msms.dataset),fact=pData(msms.dataset)[,1],
main="UPS1 200fm vs 600fm")
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.