KYCG_plotWaterfall | R Documentation |
create a waterfall plot of log(estimate) given test enrichment
KYCG_plotWaterfall(
df,
order_by = "Log2(OR)",
size_by = "-log10(FDR)",
label_by = "dbname",
n_label = 10
)
df |
data frame where each row is a database with test enrichment result |
order_by |
the column by which CG groups are ordered |
size_by |
the column by which CG group size plot |
label_by |
column in df to be used as the label (default: dbname) |
n_label |
number of datapoints to label |
grid
library(SummarizedExperiment)
df <- rowData(sesameDataGet('MM285.tissueSignature'))
query <- df$Probe_ID[df$branch == "fetal_brain" & df$type == "Hypo"]
results <- testEnrichment(query, "TFBS", platform="MM285")
KYCG_plotWaterfall(results)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.