View source: R/addSampleManually.R
addSampleManually | R Documentation |
Adds a new sample to the source data.frame.
addSampleManually(
source_df = sourceDataFrame(),
new_sample_input,
update,
in_shiny = FALSE
)
source_df |
The source data.frame. Defaults to the current |
new_sample_input |
A named list. Each slot corresponds to a variable
of the |
update |
Logical. Use with caution! If TRUE, the updated output data.frame
will replace the current |
Slots must be named as unnamed slots are discarded! Content of slot sample_name must not be among the samples names. Slot tags can be a character vector of length > 1. Every other slot should be a single value. Apart from slot stage, which should be an integer, these are always character values.
The updated data.frame is returned invisibly.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.