Description Usage Arguments Value
View source: R/scMeth_functions.R
Convert pairwise dissimilarity data.frame to a dissimilarity matrix
1 2 | convert_to_dissimilarity_matrix(master_diff,
measure = "pairwise_dissimilarity", diag = NA, sample_subset = NULL)
|
master_diff |
The data.frame containing pairwise dissimilarites. Typically the output of |
measure |
The name of the column to use as the values for the pairwise dissimilarity matrix. Defaults to the pairwise_dissimilarity. Can be changed if user wants another measure (e.g. correlation, etc). |
diag |
The value to put in the diagonal. Defaults to NA. |
sample_subset |
A character vector of sample names to subset. Optional. |
A data.matrix representing the pairwise dissimilarites between every cell
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.