x
n by p matrix or an object of a class that extends eSet; if x is a
matrix, pairwise distances are calculated between the rows of a matrix.
If x is an object of a class that extends eSet, the method makes use of the
'exprs' method and pairwise distances are calculated
between samples(columns) if sample
is TRUE