doBoxplotAmongSubtypes | R Documentation |
A stripchart (jitter plot) of a biomarker and some categorical subtype is superimposed on top of the boxplot
doBoxplotAmongSubtypes(
input.d,
data.description,
biomarker.var.name,
biomarker.name,
subtype.var.name,
subtype.name,
pch = 4,
jitter = 0.1,
digits = 2,
...
)
input.d |
input data.frame |
data.description |
boxplot title description |
biomarker.var.name |
biomarker variable name in |
biomarker.name |
boxplot y-axis label |
subtype.var.name |
subtype variable name in |
subtype.name |
boxplot x-axis label |
pch |
stripchart plot style |
jitter |
amount of jitter in stripchart |
digits |
number of digits to round to |
... |
additional arguments to |
a boxplot of biomarker values across different subtypes
Expects subtype variable to be a factor. Also expects biomarker and
subtype variable missing values to be NA
Samuel Leung
doBoxplotAmongSubtypes(mtcars, "Boxplot of qsec vs. gear", "qsec", "QSEC",
"gear", "GEAR")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.