pvca_plot | R Documentation |
The function is written based on the the PVCA R package(http://watson.nci.nih.gov/bioc_mirror/packages/release/bioc/manuals/pvca/man/pvca.pdf). My new R packages fixbatch need the function to to estimate factor's partition of the total variability. So I fork the packages and Adjust in my own style.
pvca_plot(
data,
col = "#69b3a2",
las = 0,
main = "PVCA estimation bar chart",
ylim = c(0, 1.1),
xlab = "Effects",
ylab = "Weighted average proportion variance",
...
)
data |
the result of pvca |
col |
color of barplot |
las |
the orientation of x-axis font |
main |
overall title for the plot. |
ylim |
limits for the y axis. |
xlab |
a label for the x axis. |
ylab |
a label for the y axis. |
... |
add the parameter of barplot |
plot the base R
print("Just try it")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.