sim_new creates an object of class matric_sim.
sim_new(x, row_metadata, metric_metadata)data.frame with similarity matrix.
tbl with row metadata.
list with metric information
Object of class matric_sim.
matric_sim is just a tibble with two attributes and at least
three columns.
Columns:
id1 and id2: integers, indicating row ids.
sim: double, indicating similarity between the rows.
Attributes:
row_metadata: data.frame of row annotations, with id column.
metric_metadata: information about the similarity metric.
This is somewhat similar to Biobase::AnnotatedDataFrame.