Closed pneuvial closed 7 years ago
NB: triangular dendrogram with:
data("ld.example", package="snpStats")
geno <- ceph.1mb[, -316] ## drop one SNP leading to one missing LD value
p <- ncol(geno)
ld.ceph <- ld(geno, stats="R.squared", depth=p-1)
fit <- snpClust(geno, h=p-1, stats="R.squared")
plot(as.dendrogram(fit), type="triangle")
Closed issue: plot.chac
has been implemented in the current (S3) version.
Currently the output of
adjClust
can only be plotted as a dendrogram, using the fact that this output is of classhclust
. We should add a function that plots the similarity matrix as a triangular heatmap (+ the dendrogram if desired).Such plot functions already exist for specific applications, see:
HiTC::mapC
for Hi-C data (HiTC
package vignette)LDheatmap
package vignetteCan we have something generic?