KYCG_plotLollipop: creates a lollipop plot of log(estimate) given data with...

View source: R/KYCG_plot.R

KYCG_plotLollipopR Documentation

creates a lollipop plot of log(estimate) given data with fields estimate.

Description

creates a lollipop plot of log(estimate) given data with fields estimate.

Usage

KYCG_plotLollipop(df, label_column = "dbname", n = 20)

Arguments

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)

Value

ggplot lollipop plot

Examples


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))))


zwdzwd/sesame documentation built on April 28, 2024, 12:48 p.m.