KYCG_plotVolcano | R Documentation |
creates a volcano plot of -log2(p.value) and log(estimate) given data with fields estimate and p.value.
KYCG_plotVolcano(df, label_by = "dbname", alpha = 0.05)
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) |
ggplot volcano plot
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)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.