View source: R/validate_reference.R
validate_reference | R Documentation |
Input a data.frame and check whether it contains a pre-specified set of valid columns. Invalid columns will be omitted alongside a warning.
validate_reference( df, warn = T, valid = c("gene", "accession_number", "col_significant", "col_other", "col_border", "shape", "dataset", "group", "stroke", "alt_label", "label", "label_size", "size", "symbol", "pLI", "opacity", "size", "size_gg", "legend_order") )
df |
a data.frame |
warn |
should a warning be issued about the columns that have been discarded? |
valid |
a vector of valid downstream ggplot/plotly. |
a data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.