powered by
Converts a coldist output into a distance matrix where samples are rows and columns.
coldist
coldist2mat(coldistres)
(required) the output from a coldist call.
A list containing one or two matrices, for dS and dL, depending if the original object had dS and dL columns
# NOT RUN { data(flowers) vis.flowers <- vismodel(flowers, achro=TRUE) cd.flowers <- coldist(vis.flowers) coldist2mat(cd.flowers)[['dS']] coldist2mat(cd.flowers)[['dL']] # } # NOT RUN { # }
Run the code above in your browser using DataLab