Description Usage Arguments Value Examples
Given a surrogateTable object generated by buildSurrogateTable(), generate all surrogate graphs.
1 | plotAllGraphs(surrogateTable, gisticCopyCalls, surrogateResults, intome)
|
surrogateTable |
A surrogateTable data frame generated from buildSurrogateTable() |
gisticCopyCalls |
When set to NULL, plotAllGraphs will look in the surrogateResults$mutCopyFrames object for the copy number calls for each gene. |
surrogateResults |
|
intome |
An SVG file generated for each line in the surrogateTable data frame. The SVG files will have the format (Sample)-GeneName.svg.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | ##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
##load surrogate result object
library(DLBCL)
data(interactome)
data(surrogateResult)
surrogateTable <- buildSurrogateTable(surrogateResult)
##filter the surrogate table based on p-value and return surrogate mutations greater than 5.
filteredSurrTable <- surrogateTable[surrogateTable$pvalue < 0.05 & surrogateTable$neighbor > 3,]
filteredSurrTable
#plot all graphs in current working directory
#be careful with the size of the table you pass to plotAllGraphs - it may generate
#a huge number of files.
plotAllGraphs(filteredSurrTable, surrogateResult, intome=interactome)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.