KYCG_plotBar | R Documentation |
The input data frame should have an "estimate" and a "FDR" columns.
KYCG_plotBar(df, y = "-log10(FDR)", n = 20, order_by = "FDR", label = FALSE)
df |
KYCG result data frame |
y |
the column to be plotted on y-axis |
n |
number of CG groups to plot |
order_by |
the column by which CG groups are ordered |
label |
whether to label significant bars |
Top CG groups are determined by estimate (descending order).
grid plot object
KYCG_plotBar(data.frame(
estimate=runif(10,0,10), FDR=runif(10,0,1), nD=10,
overlap=as.integer(runif(10,0,30)), group="g", dbname=seq_len(10)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.