KYCG_plotVolcano: creates a volcano plot of -log2(p.value) and log(estimate)...

View source: R/KYCG_plot.R

KYCG_plotVolcanoR Documentation

creates a volcano plot of -log2(p.value) and log(estimate) given data with fields estimate and p.value.

Description

creates a volcano plot of -log2(p.value) and log(estimate) given data with fields estimate and p.value.

Usage

KYCG_plotVolcano(df, label_by = "dbname", alpha = 0.05)

Arguments

df

DataFrame where each field is a database name with two fields for the estimate and p.value.

label_by

column in df to be used as the label (default: dbname)

alpha

Float representing the cut-off alpha value for the plot. Optional. (Default: 0.05)

Value

ggplot volcano plot

Examples


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


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