Description Usage Arguments Details Author(s) Examples

View source: R/EDA_functions.R

Draws bars of height proportional to the sample size of each column in a SpC matrix. The sizes are scaled to the median of the total SpC by sample.

1 | ```
spc.barplots(msms.counts,fact=NULL,...)
``` |

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

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

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

.

Josep Gregori

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

msmsEDA documentation built on Nov. 17, 2017, 10:02 a.m.

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.