dea_evalPlot_curve: dea_evalPlot_curve

Description Usage Arguments Value Examples

View source: R/dea_evaluationFunctions.R

Description

dea_evalPlot_curve

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
dea_evalPlot_curve(
  res,
  scales = "free",
  agg.by = NULL,
  agg.fn = mean,
  xlim = c(NA, NA),
  colourBy = "method",
  shapeBy = NULL,
  pointsize = 4
)

Arguments

res

Aggregated results of the DEA pipeline

scales

Passed to 'facet_grid'

agg.by

Aggregate results by these columns (default no aggregation)

agg.fn

Function for aggregation (default mean)

xlim

Optional vector of x limits

colourBy

Name of column by which to colour

shapeBy

Name of column determining the shape of the points. If omitted, the shape will indicate whether the nominal FDR is below or equal the real FDR.

pointsize

Size of the points

Value

A ggplot.

Examples

1
2
data("exampleDEAresults", package="pipeComp")
dea_evalPlot_curve(exampleDEAresults, agg.by=c("sva.method"))

plger/pipeComp documentation built on Nov. 2, 2021, 8:40 p.m.