View source: R/data_transformation.R
ap_scoring | R Documentation |
Binning of MADs values in Autoimmunity Profiling.
ap_scoring( x, MADlimits = seq(0, 70, 5), rightmost.closed = FALSE, left.open = FALSE, check.names = FALSE, ... )
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 |
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(.
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.