View source: R/prior_fitting.R
Given an nxd matrix of variant annotations, produce an nxn distance matrix describing the inter-variant distances in annotation space
1 2 3 4 5 6 | generate_distance_matrix(
annotations,
log_distance = FALSE,
scale_annotations = TRUE,
verbose = TRUE
)
|
annotations |
an n x d data frame of annotations |
log_distance |
a logical indicating to use the log1p of the distances (TRUE) or the raw euclidean distances (FALSE) |
scale_annotations |
logical indicating whether to base::scale to center and scale annotations |
verbose |
logical indicating whether to print messages |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.