"plot"(x, X, Y, ann.types = NULL, ann.cols = NULL, legend.x = 0, legend.y = 1, legend.xjust = 0, legend.yjust = 1, order = FALSE, cex.z = 0.6, cex.WX = 0.6, cex.WY = 0.6, ...)
"plot"(x, hilightGenes = NULL, showDensity = FALSE, showTop = 0,
topName = FALSE, type = 'l', xlab = 'gene location', ylab = 'dependency score',
main = NULL,
pch = 20, cex = 0.75, tpch = 3, tcex = 1, xlim = NA, ylim = NA,...)
"plot"(x, hilightGenes = NULL, showDensity = FALSE, showTop = 0,
topName = FALSE, onePlot = FALSE, type = 'l', ylab = "Dependency Scores",
xlab = "Gene location (chromosome)", main = "Dependency Scores in All Chromosomes",
pch = 20, cex = 0.75, tpch = 20, tcex = 0.7, mfrow = c(5,5), mar = c(3,2.5,1.3,0.5),
ps = 5, mgp = c(1.5,0.5,0),ylim=NA,...)
GeneDependencyModel-class
,
ChromosomeModels-class
, GenomeModels-class
; models to be plotted.
0
no line is drawn.
TRUE
, gene names are printed to hilighted
models with highest dependecies. Otherwise hilighted models are
numbered according to their rank in dependency score.
plot
for details.
A text for chromosome (and arm if only models from one arm is plotted)
is used in main
if NULL
is given. In
plot.GenomeModels
, ylab
and xlab
affect only if onePlot
is
TRUE
.
TRUE
, all dependency scores are plotted in one plot
window. Otherwise one plot window is used for each chromosome.
points
for details.
points
for details.
plot
for details.
par
for details.
plot(x, cancerGenes = NULL, showDensity = FALSE, ...)
is
also usable and chosen according to class of models
.
DependencyModel-class
,
ChromosomeModels-class
,
GenomeModels-class
,
screen.cgh.mrna
,
screen.cgh.mir
data(chromosome17)
## pSimCCA model on chromosome 17p
models17ppSimCCA <- screen.cgh.mrna(geneExp, geneCopyNum, 10, 17, 'p')
plot(models17ppSimCCA,
hilightGenes=c("ENSG00000108342", "ENSG00000108298"), showDensity = TRUE)
## Dependency model around 50th gene
model <- models17ppSimCCA[[50]]
## example annnotation types
ann.types <- factor(c(rep("Samples 1 - 10", 10), rep("Samples 11 - 51", 41)))
plot(model, geneExp, geneCopyNum, ann.types, legend.x = 40, legend.y = -4,
order = TRUE)
Run the code above in your browser using DataLab