| CNV.detailplot_wrap {conumee} | R Documentation |
Create CNV plot for all detail regions.
CNV.detailplot_wrap(object, ...) ## S4 method for signature 'CNV.analysis' CNV.detailplot_wrap(object, set_par = TRUE, main = NULL, ...)
object |
|
... |
Additional paramters supplied to |
set_par |
logical. Use recommended graphical parameters for |
main |
character. Title of the plot. Defaults to sample name. |
This method is a wrapper of the CNV.detailplot method to plot all detail regions.
NULL.
Volker Hovestadt conumee@hovestadt.bio
# prepare
library(minfiData)
data(MsetEx)
d <- CNV.load(MsetEx)
data(detail_regions)
anno <- CNV.create_anno(detail_regions = detail_regions)
# create/modify object
x <- CNV.segment(CNV.detail(CNV.bin(CNV.fit(query = d['GroupB_1'],
ref = d[c('GroupA_1', 'GroupA_2', 'GroupA_3')], anno))))
# output plots
CNV.genomeplot(x)
CNV.genomeplot(x, chr = 'chr6')
CNV.detailplot(x, name = 'PTEN')
CNV.detailplot_wrap(x)
# output text files
CNV.write(x, what = 'segments')
CNV.write(x, what = 'detail')
CNV.write(x, what = 'bins')
CNV.write(x, what = 'probes')