iterative.proc: Iterative procedure to select the optimal window width

Description Usage Arguments Value Examples

View source: R/iterative.proc.R

Description

Iterative procedure to select the optimal window width

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
iterative.proc(
  scores,
  alpha = 0.05,
  w,
  tau = 1,
  method = "overall",
  by = 3,
  rowterms,
  plot = TRUE
)

Arguments

scores

3 dimensional array of the distance scores between Zx and Zy

alpha

numeric value for FPR cutoff

w

numeric vector of length n of starting window widths for thecomponents

tau

numeric value for the scaling value in the window width calculation

method

string "overall" or "each" describing the FPR calculation

by

numeric integer <= n: that the FPR <= alpha by this component

rowterms

vector of string values that denotes names of the elements in Y

plot

logical TRUE or FALSE

Value

a list of the FPR (array of FPRs), wopt (optimal window width), and tau (end scaling factor)

Examples

1
see README

robyn-ball/PMCA documentation built on Dec. 31, 2020, 3:10 a.m.