View source: R/data_transformation.R
ap_binary | R Documentation |
Create binary matrices based on scored Autoimmunity profiling data.
ap_binary(x, cutoffs)
x |
List of scoring 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 to use to element Scoring in the output from ap_scoring). |
cutoffs |
data.frame with at least one column named score with the desired cutoffs to use, and rownames you want to have as identifier for each cutoff. It is recommended is to use the Cutoff_key element in the output from ap_scoring). |
The input values will be binned into binary data, consisting of 0 and 1.
The input values should be scoring values, and structured as a list (preferably the output from function ap_scoring()), even if only one data set is used (see examples in ap_mads).
List with binary data.frames
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.