Description Usage Arguments Author(s)
View source: R/libsize_barplot.R
Draw a barplot with the number of million reads per sample
1 2 3 4 5 6 7 8 9 10 |
counts |
a count table with 1 row per feature and 1 column per sample |
... |
additional parameters are passed to barplot |
sample.labels=colnames(counts) |
sample labels (displayed as y legend) |
sample.colors=NULL |
sample-specific colors (e.g. reflecting conditions) |
main="Library |
sizes" Main title for the plot |
xlab="libsum |
(Million reads per sample)" X axis label |
plot.file=NULL |
Path of a file to store the figure (pdf format). |
fig.format="pdf" |
File format (only used if plto.file is defined) |
cex.names=1 |
fondt size for sample labels |
lmargin=cex.names*max(nchar(sample.labels))/2.5+5 |
Adapt margin to the label sizes |
width=7 |
width of the plot file |
height=length(sample.labels)/3+2 |
height of the plot file (if not specified, will be adapted to the number of samples) |
Jacques van Helden
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.