Description Usage Arguments Value Examples
Plot boxplots for each group.
1 2 3 4 5 6 7 8 9 10 | vis.group.boxplot(
.data,
.groups = NA,
.labs = c("V genes", "Frequency"),
.title = "",
.rotate.x = T,
.violin = T,
.notch = F,
...
)
|
.data |
Either a matrix with colnames and rownames specifyed or a data frame with the first column of strings for row names and other columns stands for values. |
.groups |
Named list with character vectors for names of elements for each group. If NA than each member is in the individual group. |
.labs |
Labs names. Character vector of length 1 (for naming both axis with same name) or 2 (first elements stands for x-axis). |
.title |
Main title of the plot. |
.rotate.x |
if T then rotate x-axis. |
.violin |
If T then plot a violin plot. |
.notch |
"notch" parameter to the |
... |
Parameters passed to |
ggplot object.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
names(immdata) # "A1" "A2" "B1" "B2" "C1" "C2"
# Plot a boxplot for V-usage for each plot
# three boxplots for each group.
vis.group.boxplot(freq.Vb(immdata),
list(A = c('A1', 'A2'), B = c('B1', 'B2'), C = c('C1', 'C2')),
c('V segments', 'Frequency'))
data(twb)
ov <- repOverlap(twb)
sb <- matrixSubgroups(ov, list(tw1 = c('Subj.A', 'Subj.B'), tw2 = c('Subj.C', 'Subj.D')));
vis.group.boxplot(sb)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.