View source: R/plot_scatter_basic.R
plot_scatter_basic | R Documentation |
Plot protein-level data in a sactter plot.
plot_scatter_basic( df, repA = "rep1", repB = "rep2", size_gg = 3, col_significant = "#41AB5D", col_other = "grey", sig_text = "(significant)", insig_text = "(not significant)", shape = 21, stroke = 0.2, col_border = NULL )
df |
data.frame with at least columns |
repA |
string that is column in df. Expects name to be in the form of rep[0-9], e.g. 'rep1'. |
repB |
string that is column in df. Expects name to be in the form of rep[0-9], e.g. 'rep1'. |
size_gg |
numeric. Size of point. |
col_significant |
string. Color for significant protein interactors. |
col_other |
string. Color for other protein interactors. |
sig_text |
string. Text for significant interactor to be displayed in legend. |
insig_text |
string. Text for non-significant interactors to be displayed in legend. |
shape |
integer. The shape of the point. Default is 21 (circle). |
stroke |
numeric. The stroke width. |
col_border |
string. The color of the borders/outline. |
## Not run: # run example data p = example_data %>% calc_mod_ttest() %>% id_significant_proteins(fdr_cutoff = 0.1) %>% plot_scatter_basic() %>% plot_overlay(as.bait('BCL2')) p + ggtitle('Example scatter plot') ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.