HGray384 / pcaNet

Probabilistic principal components analysis for covariance matrix estimation and network reconstruction R-package (dev version)
GNU General Public License v2.0
2 stars 1 forks source link

Hinton diagram #11

Closed pauldwkirk closed 6 years ago

pauldwkirk commented 6 years ago

plotrix provides the goods:

set.seed(20)
x<-matrix(rnorm(100),nrow=10)
plotrix::color2D.matplot(x,extremes=c("black","white"),main="Hinton diagram (white +, black -)",Hinton=TRUE)

This gives: rplot