sumDistSample {MatrixQCvis} | R Documentation |
The function 'sumDistSample' creates a plot showing the sum of distance of a sample to other samples.
sumDistSample(d, title = "raw")
d |
'matrix' containing distances, obtained from 'distShiny' |
title |
'character' specifying the title to be added to the plot |
'gg' object from 'ggplot2'
a <- matrix(1:100, nrow = 10, ncol = 10, dimnames = list(1:10, paste("sample", 1:10))) dist <- distShiny(a) sumDistSample(dist, title = "raw")