validate_reference: validate reference data.frame

Description Usage Arguments Value

View source: R/validate_reference.R

Description

Input a data.frame and check whether it contains a pre-specified set of valid columns. Invalid columns will be omitted alongside a warning.

Usage

1
2
3
4
5
6
validate_reference(
  df,
  valid = c("gene", "accession_number", "col_significant", "col_other", "shape",
    "dataset", "stroke", "alt_label", "label", "label_size", "size", "symbol", "pLI",
    "opacity", "size", "gg.size", "legend_order")
)

Arguments

df

a data.frame

valid

a vector of valid downstream ggplot/plotly.

Value

a data.frame


frhl/genoppi-v4 documentation built on May 5, 2020, 7:16 a.m.