.calc_mmd_mat | R Documentation |
Calculates mean MMD distances between all pairs of samples
.calc_mmd_mat( sample_list, mat_list, n_times, subsample, sigma, n_cores, bp_seed = 22 )
sample_list |
List of samples to iterate through |
mat_list |
List of matrices of QC metrics |
n_times |
How many times do we sample MMD between each pair of samples? (if subsampled, MMD is a stochastic value) |
subsample |
Should we downsample the number of cells per sample to this number |
sigma |
Scale for MMD kernel (defaults to length of qc_names) |
n_cores |
How many cores to parallelize over |
bp_seed |
random seed for BiocParallel workers |
matrix of MMD values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.