pvca_plot: Title A plot function for dispaly the result of principal...

View source: R/pvca_plot.R

pvca_plotR Documentation

Title A plot function for dispaly the result of principal variance component analysis

Description

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.

Usage

pvca_plot(
  data,
  col = "#69b3a2",
  las = 0,
  main = "PVCA estimation bar chart",
  ylim = c(0, 1.1),
  xlab = "Effects",
  ylab = "Weighted average proportion variance",
  ...
)

Arguments

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

Value

plot the base R

Examples

print("Just try it")

wangjiaxuan666/fixbatch documentation built on Jan. 25, 2024, 4:39 p.m.