pBoot | R Documentation |
Obtain a p-value for a minPath
by comparison to a bootstrap distribution obtained by distBoot
.
pBoot(d, z)
d |
Output of the |
z |
The minimal path length to be tested |
A bootstrap p-value
Anooj Arkatkar
minPath
, distBoot
# Load data data(foldChange) data(traitData) # Obtain clusters c.gm <- gelMatrix(foldChange) clust <- gammaCluster(c.gm, 7) # Set up the path data path.gm <- gelMatrix(foldChange, phen=traitData, squared=TRUE, output="orig") nodeNames <- c(rownames(traitData), rownames(foldChange)) # Find the minimal path mp <- minPath("TCDD", "Fat", path.gm, clust$labels, nodeNames=nodeNames) # Obtain the p-value bdist <- distBoot(foldChange) p <- pBoot(bdist, sum(mp$pvals))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.