as.bait: as.bait

View source: R/misc.R

as.baitR Documentation

as.bait

Description

quickly format a gene as a bait so that it can be used by various overlay functions. This functional will create a named data.frame with column 'gene', 'col_significant' and 'col_other', that can be directly inputted into plot_overlay.

Usage

as.bait(bait)

Arguments

bait

string indicating the bait.

See Also

Other misc: %nin%(), as.goi(), bold(), catf(), color_distinct(), color_gradient(), enumerate_replicate_combinations(), get_gg_legend(), hline(), italics(), lun(), null_omit(), shape_to_symbol(), symbol_to_shape(), vline()

Examples

## Not run: 
# overlay the bait
example_data %>%
  calc_mod_ttest() %>%
  id_significant_proteins() %>%
  plot_volcano_basic() %>%
  plot_overlay(as.bait('BCL2')) %>%

## End(Not run)

lagelab/Genoppi documentation built on Oct. 13, 2022, 2:36 p.m.