KYCG_plotLollipop | R Documentation |
creates a lollipop plot of log(estimate) given data with fields estimate.
KYCG_plotLollipop(df, label_column = "dbname", n = 20)
df |
DataFrame where each row is a database name with its estimate. |
label_column |
column in df to be used as the label (default: dbname) |
n |
Integer representing the number of top enrichments to report. Optional. (Default: 10) |
ggplot lollipop plot
KYCG_plotLollipop(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=as.character(seq_len(10))))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.