Description Usage Arguments Details Value Author(s) See Also Examples
Function that use the previously calculated similarities into a single similarity matrix.
1 | addSimilarities(x, bio_mat, weights = c(0.5, 0.18, 0.1, 0.22))
|
x |
A matrix with the similarity of expression |
bio_mat |
A list of matrices of the same dimension as x. |
weights |
A numeric vector of weight to multiply each similarity |
The total weight can't be higher than 1 to prevent values above 1 but can be below 1. It uses weighted.sum with abs = TRUE internally.
A square matrix of the same dimensions as the input matrices.
Llu<c3><ad>s Revilla
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.