Draw one of the standard surrogate-variable plots used by svaEnmix().
plotSvaEnmix(
analysisData,
plot = c("sentrix_id", "sentrix_position", "matrix"),
display = FALSE,
file = NULL,
width = 2000L,
height = 1000L,
res = 150L,
verbose = FALSE,
logs = FALSE,
log_dir = NULL,
log_file = "log_plotSvaEnmix.txt"
)Object returned by analyzeSvaEnmix().
Character. Plot type: "sentrix_id", "sentrix_position", or
"matrix".
Logical. If TRUE, draw the plot on the active graphics
device.
Character or NULL. TIFF file path used for saved output.
Integer. Plot width in pixels when file is supplied.
Integer. Plot 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 file when a TIFF is written, otherwise NULL.
ex <- dnaEPICO:::exampleSvaAnalysisStateDnaEpico()
plotSvaEnmix(
analysisData = ex$analysisData,
plot = "sentrix_id",
display = FALSE,
verbose = FALSE,
logs = FALSE
)