plot-MuChPoint: Produce a plot of two-dimensional segmentation of a...

plot,MuChPoint-methodR 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 MuChPoint.

y

used for S4 compatibility represented the matrix (typically, the matrix used in the program MuChPoint).

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 TRUE, to hit will be necessary to see next plot.

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

MuChPoint, capushe.

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)


Lionning/MuChPoint documentation built on April 16, 2022, 8:46 p.m.