| as.goi | R Documentation |
quickly format the gene 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.
as.goi( genes, col_significant = "cyan", col_other = "grey", shape = 21, dataset = "GOI" )
genes |
string indicating the bait. |
col_significant |
color of significant interactor. |
col_other |
color of non-significant interactor. |
shape |
numeric. 21 is default for circle. |
dataset |
used internally in genoppi to plot multiple datasets. |
Other misc:
%nin%(),
as.bait(),
bold(),
catf(),
color_distinct(),
color_gradient(),
enumerate_replicate_combinations(),
get_gg_legend(),
hline(),
italics(),
lun(),
null_omit(),
shape_to_symbol(),
symbol_to_shape(),
vline()
## Not run:
# overlay the bait
example_data %>%
calc_mod_ttest() %>%
id_significant_proteins() %>%
plot_volcano_basic() %>%
plot_overlay(as.goi(c('BCL2', 'FUS', 'TRIM28')))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.