Description Usage Arguments Value Author(s)
MA-plot with coloring by group
1 2 3 4 5 6 7 8 9 10 11 12 13 | plot_a_pair_vectors_in_MA(
x1,
x2,
grp_id,
x1name = deparse(substitute(x1)),
x2name = deparse(substitute(x2)),
log = TRUE,
main,
xlab,
ylab,
...,
legend_arg
)
|
x1, x2 |
the first and second vectors to show |
grp_id |
a vector that has the group IDs of which each will be plotted
in different color |
x1name, x2name |
the names of x1 and x2. These will be used in the labels of x-, y-axis |
log |
whether the |
main |
same as the ones for |
xlab |
same as the ones for |
ylab |
same as the ones for |
... |
any arguments that pass to |
legend_arg |
a list of parameters to be used in adding a legend. If
|
A plot is generated and a "list"
of x- and y- coordinate
limits is returned.
Mun-Gwan Hong <mun-gwan.hong@scilifelab.se>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.