predictSexMinfiEwasWater()R/preprocessingMinfiEwasWater_steps.R
plotSexMinfiEwasWater.RdPlot predicted or clinical sex from predictSexMinfiEwasWater()
plotSexMinfiEwasWater(
sexData,
type = c("predicted", "clinical"),
display = FALSE,
file = NULL,
width = 2000L,
height = 1000L,
res = 70L,
verbose = FALSE,
logs = FALSE,
log_dir = NULL,
log_file = "log_plotSexMinfiEwasWater.txt"
)Object returned by predictSexMinfiEwasWater().
Character. Plot type: "predicted" for methylation-predicted
sex or "clinical" for reported sex.
Logical. If TRUE, draw the plot on the active graphics
device.
Character or NULL. TIFF file written when supplied.
Integer. TIFF width in pixels when file is supplied.
Integer. TIFF height in pixels when file is supplied.
Integer. TIFF resolution in DPI when file is supplied.
Logical. If TRUE, emit progress messages with message().
Logical. If TRUE, write the same messages to a log file.
Character or NULL. Directory used for the log file when
logs = TRUE.
Character. File name used when logs = TRUE.
Invisibly returns the saved TIFF path when file is supplied,
otherwise NULL.
ex <- dnaEPICO:::exampleSexPlotStateDnaEpico()
plotSexMinfiEwasWater(
sexData = ex,
type = "predicted",
display = FALSE,
verbose = FALSE,
logs = FALSE
)