ap_scoring: Scoring

View source: R/data_transformation.R

ap_scoringR Documentation

Scoring

Description

Binning of MADs values in Autoimmunity Profiling.

Usage

ap_scoring(
  x,
  MADlimits = seq(0, 70, 5),
  rightmost.closed = FALSE,
  left.open = FALSE,
  check.names = FALSE,
  ...
)

Arguments

x

List of MADs values with two levels per element: level one = assay data sets ; level two = bead subsets (e.g. wih and w/o controls). It is recommended is to use the the output from ap_mads).

MADlimits

vector of MADs values used as boundaries for binning (≥MADs).

rightmost.closed, left.open

logical, see findInterval for details.

check.names

logical, see data.frame for details

...

Further arguments passed do findInterval

Details

The input values will be binned into discrete bins (scores).

The input values should be MADs values, and structured as a list (preferably the output from function ap_mads()), even if only one data set is used (see examples in ap_mads(.

Value

List with two main elements [[1]] Cutoff key as data.frame with cutoff values, scores and colors [[2]] scored data, with same structure as input list.


cekehe/rappp documentation built on May 17, 2022, 8:54 a.m.