The core plotting component of plotEnrichment

feature_ggplot(x, usamp, limits, splitby)

Arguments

x

A tbl containing data for plotting.

usamp

The name of the user-supplied sample

limits

Specify limits on data. Useful for controlling infinite estimation of odds ratio resulting from fisher's exact test. To remove limits, set c(-Inf, Inf). Default: c(-10, 15).

splitby

Metadata by which to split plots. Can be "none", "prediction", or "label".

Value

A ggplot2 object.