distShiny {MatrixQCvis} | R Documentation |
The function 'distShiny' takes as an input a numerical 'matrix' or 'data.frame' and returns the distances between the rows and columns based on the defined 'method' (e.g. euclidean distance).
distShiny(x, method = "euclidean")
x |
'matrix' or 'data.frame' with samples in columns and features in rows |
method |
'character', method for distance calculation |
Internal use in 'shinyQC'.
'matrix'
x <- matrix(1:100, nrow = 10, ncol = 10, dimnames = list(1:10, paste("sample", 1:10))) distShiny(x = x)