plot,MuChPoint-method {MuChPoint} | R Documentation |
Produce a plot of two-dimensional segmentation of a MuChPoint
fit.
Description
Produce a plot of two-dimensional segmentation of a MuChPoint
fit.
Usage
## S4 method for signature 'MuChPoint'
plot(x, y, shiny = TRUE, col = "Color", L = NULL, ask = TRUE)
Arguments
x |
an object of class |
y |
used for S4 compatibility represented the matrix (typically,
the matrix used in the program |
shiny |
for a representation with a shiny application. |
col |
for the colors of the representations. |
L |
the summarized matrix with L break-points (L can be a vector). |
ask |
If |
References
Article: BRAULT V., OUADAH S., SANSONNET L. and LEVY-LEDUC C. Nonparametric homogeneity tests and multiple change-point estimation for analyzing large Hi-C data matrices. Journal of Multivariate Analysis, 2017
See Also
Examples
require(MuChPoint)
mu=c(rep(c(rep(1,25),rep(0,25)),3))%*%t(rep(c(rep(0,25),rep(1,25)),3))
Y=matrix(rnorm(150^2,0,2),150)+mu+t(mu)
Y=as.matrix(Matrix::forceSymmetric(Y))
res=MuChPoint(Y)
plot(res,Y,L=5,shiny=FALSE)
plot(res,Y,L=1:10,shiny=FALSE,ask=FALSE)
[Package MuChPoint version 0.6.3 Index]