Do a jitterplot among subtypes
doJitterplotAmongSubtypes.Rd
Generates stripchart (jitter plot) of a biomarker split on a categorical subtype.
Usage
doJitterplotAmongSubtypes(
input.d,
data.description,
biomarker.var.name,
biomarker.name,
subtype.var.name,
subtype.name,
pch = ".",
jitter = 0.05,
digits = 3,
cex.axis = 0.9
)
Arguments
- input.d
input
data.frame
- data.description
title description
- biomarker.var.name
variable name of biomarker to plot
- biomarker.name
x-axis label for biomarker name
- subtype.var.name
variable name of subtype to separate biomarker
- subtype.name
y-axis label for subtype name
- pch
jitterplot dot type. For example, 20 = small dot, 16 = big dot.
- jitter
scalar indicating amount of jitter (spread of points)
- digits
number of digits to round to
- cex.axis
scalar indicating amount of scaling for axes