Description Usage Arguments Details Value Author(s) Examples
CNV analysis data of a single sample is stored in this class
1 2 3 4 5 6 7 8 9 10 11 |
object |
|
x |
|
value |
Replacement names. |
Use CNV.fit
to create. Modified by CNV.bin
, CNV.detail
and CNV.segment
.
CNV.analysis
class.
Volker Hovestadt conumee@hovestadt.bio
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | # prepare
library(minfiData)
data(MsetEx)
d <- CNV.load(MsetEx)
anno <- CNV.create_anno()
# create object
x <- CNV.fit(query = d['GroupB_1'], ref = d[c('GroupA_1', 'GroupA_2', 'GroupA_3')], anno)
# modify object
x <- CNV.bin(x)
x <- CNV.detail(x)
x <- CNV.segment(x)
# general information
x
show(x)
# coefficients of linear regression
coef(x)
# show or replace sample name
names(x)
names(x) <- 'Sample 1'
# output plots
CNV.genomeplot(x)
CNV.genomeplot(x, chr = 'chr6')
#CNV.detailplot(x, name = 'MYCN')
#CNV.detailplot_wrap(x)
CNV.write(x, what = 'segments')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.