as_data_frame_analyte | R Documentation |
data.frame
A well structured list, such at those loaded by load_panel()
, is cast to a data.frame.
as_data_frame_analyte(
.analytes,
.id_bead = "Bead group",
.id_analyte = "Analyte ID"
)
.analytes |
The named list to be cast. It usually is loaded using
|
.id_bead, .id_analyte |
The name of the column to hold the bead group and the analyte ID, respectively. |
Each analyte in the list
passed to the function is expected to be a named
list with named elements name
and concentration
. The name of the list
with the analyte specific information is the analyte ID.
Because of the particular setup of the LEGENDplex assay with two bead groups,
the analytes are expected to be wrapped in another list
.
A data-frame
.analytes <- list(A = list(
A1 = list(name = "name_a1", concentration = 500),
A2 = list(name = "name_a2", concentration = 50000)))
as_data_frame_analyte(.analytes)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.