KYCG_plotDot | R Documentation |
The input data frame should have an "estimate" and a "FDR" columns.
KYCG_plotDot(
df,
y = "-log10(FDR)",
n = 20,
order_by = "FDR",
title = "Enriched Databases",
label_by = "dbname",
size_by = "overlap",
color_by = "estimate",
short_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 |
title |
plot title |
label_by |
the column for label |
size_by |
the column by which CG group size plot |
color_by |
the column by which CG groups are colored |
short_label |
omit group in label |
Top CG groups are determined by estimate (descending order).
grid plot object (by ggplot)
KYCG_plotDot(data.frame(
estimate=runif(10,0,10), FDR=runif(10,0,1), nD=runif(10,10,20),
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.