plot_susiF | R Documentation |
Various visualizations of fSuSiE results.
plot_susiF(
obj,
which_plot = c("both", "pip", "effect"),
effect = "all",
cred_band = TRUE,
show_affected_region = TRUE,
show_outing_grid = ifelse(diff(range(diff(obj$outing_grid))) < 1e-06, FALSE, TRUE),
lfsr_curve = TRUE,
line_width = 0.35,
point_size = 1.25,
dot_size = 0.5,
pos_SNP,
point_shape,
font_size = 10,
title = "",
...
)
## S3 method for class 'susiF'
plot(x, ...)
plot_susiF_pip(
obj,
title = "",
pos_SNP,
point_shape,
point_size = 1.25,
font_size = 10
)
plot_susiF_effect(
obj,
effect = "all",
title = "",
cred_band = TRUE,
show_affected_region = TRUE,
show_outing_grid = ifelse(diff(range(diff(obj$outing_grid))) < 1e-06, FALSE, TRUE),
lfsr_curve = TRUE,
line_width = 0.35,
dot_size = 0.5,
font_size = 10
)
obj |
Output of the susiF function. |
which_plot |
Which plots to return; a PIP plot, effect plot, or both (in which case the return value is a list containing the two plots. |
effect |
The indices of the effects to be plotted, or use
|
cred_band |
logical. If |
show_affected_region |
If |
show_outing_grid |
If |
lfsr_curve |
Logical. If |
line_width |
Numeric. Width of the plotted lines. |
point_size |
numeric, size of the points. |
dot_size |
numeric, size of the points in the effect plot. |
pos_SNP |
vector, containing the base pair of the SNPs |
point_shape |
vector, containing the shape of dots |
font_size |
Passed as the “ont_size” argument to
|
title |
The title of the plot. |
... |
additional arguments |
x |
Output of the susiF function. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.