View source: R/IdentBarVIew.R View source: R/.ipynb_checkpoints/IdentBarVIew-checkpoint.R
| IdentBarView | R Documentation | 
Identical bar plot
IdentBarView(
  gg,
  x = "x",
  y = "y",
  fill = c("#CF3C2B", "#394E80"),
  main = NULL,
  xlab = NULL,
  ylab = NULL,
  filename = NULL,
  width = 5,
  height = 4,
  ...
)
gg | 
 A data frame.  | 
x | 
 A character, indicating column (in countSummary) of x-axis.  | 
y | 
 A character, indicating column (in countSummary) of y-axis.  | 
fill | 
 A character, indicating fill color of all bars.  | 
main | 
 A charater, specifying the figure title.  | 
xlab | 
 A character, specifying the title of x-axis.  | 
ylab,  | 
 A character, specifying the title of y-axis.  | 
filename | 
 Figure file name to create on disk. Default filename="NULL", which means don't save the figure on disk.  | 
width | 
 As in ggsave.  | 
height | 
 As in ggsave.  | 
... | 
 Other available parameters in ggsave.  | 
An object created by ggplot, which can be assigned and further customized.
Wubing Zhang
file4 = file.path(system.file("extdata", package = "MAGeCKFlute"),
"testdata/countsummary.txt")
countsummary = read.delim(file4, check.names = FALSE)
IdentBarView(countsummary, x="Label", y="Reads")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.