Description Usage Arguments Value
View source: R/fc_graphic_output.R
Plots p-values after -log10 transforming them. This makes a plot where points higher up on the y-axis are lower p-values. Points are colored by detection reagant and shaped by antigen being detected.
1 2 3 4 5 6 7 8 9 10 | fcgo_l10_pplot(
p_vals,
pdf_name,
main,
line_method,
gopts,
pt_colors,
pt_shapes,
ylim = NULL
)
|
p_vals |
A vector of p-values. |
pdf_name |
The name of the output file where the plot will be saved. Should be a full file path. |
main |
The title of the plot. |
line_method |
A string indicating the method you want to use to draw the arbitrary cutoff line. "bonferroni" (for p < 0.05), "fdr" (for q < 0.2), and "raw" (just -log10(0.05)) are supported. |
gopts |
A list of graphical options. Must have specified the subparameters:
|
pt_colors |
Colors for each point in p_vals. These should be generated from gopts$reag_cols. See ?fcgo_get_prop for an example of how to generate this. |
pt_shapes |
Shapes for each point in p_vals. These should be generated from gopts$ant_shapes. See ?fcgo_get_prop for an example of how to generate this. |
ylim |
An optional parameter for setting the y-limits of the plot. |
Nothing!
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.