plot_Charge | R Documentation |
The input is a data.frame with columns 'Var1' - name of the Raw file 'Var2' - charge (used as fill color) 'Var1_center' - contains X-position of the Raw file 'Var2_height' - relative frequency of the charge 'Margin_var1' - where each row represents one peptide sequence.
plot_Charge(d_charge)
d_charge |
A data.frame with columns as described above |
GGplot object
data = data.frame(raw.file = c(rep('file A', 100), rep('file B', 40)),
data = c(rep(2, 60), rep(3, 30), rep(4, 10),
rep(2, 30), rep(3, 7), rep(4, 3)))
plot_Charge(mosaicize(data))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.