quantroPlot | R Documentation |
quantro
function.This function plots the histogram of the
null test statistics from permutation test in the quantro
function.
quantroPlot( object, savePlot = FALSE, xLab = NULL, yLab = NULL, mainLab = NULL, binWidth = NULL )
object |
a quantro object from |
savePlot |
a TRUE/FALSE object argument determining if the plot will be saved for further use or immediately displayed on the screen. |
xLab |
label for x-axis |
yLab |
label for y-axis |
mainLab |
title of plot |
binWidth |
binwidth or histogram. Default is the stat_bin default. |
A histogram will be plotted containing the null
test statistics when using boostrapped samples.
The red line is the observed test statistic
quantroStat
from quantro()
.
library(minfi) data(flowSorted) p <- getBeta(flowSorted, offset = 100) pd <- pData(flowSorted) library(doParallel) registerDoParallel(cores=4) qtest <- quantro(p, pd$CellType, B = 100) quantroPlot(qtest)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.