Description Usage Arguments Value Examples
Plot a value relative to a background distribution from a palmprint data.frame.
1 2 3 4 5 6 7 | PlotDistro(
pp,
pp.bg,
plotValue,
distrocol = "skyblue",
set.ylab = "palmDB density"
)
|
pp |
A palmprint.df row to use for the plot "value" |
pp.bg |
A multiple palmprint.df for the plot background "distribution" |
plotValue |
Which numeric column to use for pp and pp.bg. One of "score", "pssm_total_score", "pp_length", "v1_length", "v2_length" |
distrocol |
Color to use for distribution ["skyblue"] |
set.ylab |
Label for y-axis ["palmDB density"] |
A ggplot2 object
1 2 3 4 5 | data("waxsys.palmprint")
data("palmdb")
PlotDistro( pp = waxsys.palmprint, pp.bg = palmdb, "score", "black")
PlotDistro( pp = waxsys.palmprint, pp.bg = palmdb, "pp_length", "skyblue")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.