plot,MuChPoint-method | R Documentation |
MuChPoint
fit.Produce a plot of two-dimensional segmentation of a MuChPoint
fit.
## S4 method for signature 'MuChPoint' plot(x, y, shiny = TRUE, col = "Color", L = NULL, ask = TRUE)
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 |
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
MuChPoint
, capushe
.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.