getPermROC: getPermROC

Description Usage Arguments Value

View source: R/DEA.permutations.R

Description

Plots the ROC curve of permutation DEAs results

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
getPermROC(
  permResults,
  minPts = 100,
  qprobs = c(0.05, 0.95),
  main = NULL,
  col = "blue",
  type = "b",
  lty = 1,
  add = F,
  lwd = 2,
  showAUC = !add,
  returnCoords = FALSE,
  pch = 1,
  ncores = 1
)

Arguments

permResults

Either the results of the 'DEA.permutateIndividuals' or 'DEA.permutateClones' function, or a character vector of length 1 indicating the files in which such an object was saved.

minPts

Integer>0 indicating the minimum approximative number of points over which to plot the curve (default 100). Higher values produce a higher resolution plot, but will take longer to run.

qprobs

Numeric vector of length 2 indicating the probabilities for the confidence interval (default 'c(0.05,0.95)'). Set to NA to disable.

main

Plot title (default "ROC Curve")

col

Color (default blue)

type

Plot type (default 'both')

lty

Line type (default 1)

add

Logical; whether to add the curve on an existing plot (default FALSE)

showAUC

Logical; whether to display the area under the curve (default TRUE, unless add=TRUE)

returnCoords

Logical; whether to return the point coordinates instead of plotting them (default FALSE)

ncores

Integer; number of cores to use (default 1)

Value

Produces a plot, or returns a list with the slots 'sens' and 'spec' if returnCoords=TRUE.


plger/iPSCpoweR documentation built on Feb. 2, 2022, 1:37 a.m.