Description Usage Arguments Examples
Generates a distance matrix from a a transcriptomics dataset.
1 | DistanceGen(dataset, metric = "euclidean", nthreads = NULL)
|
dataset |
A transcriptomics dataset. Preferably filtered first. First columns should be gene names. All other columns should be expression levels. |
metric |
The distance metric to be used to calculate the distances between genes. See parallelDist::parDist for all accepted arguments. Also allows the option of 'abs.correlation'. Not used if a distance matrix is provided. |
nthreads |
The number of threads to be used for parallel computations. If NULL then the maximum number of threads available will be used. |
1 2 | distance <- DistanceGen(Laurasmappings, metric='abs.correlation',
nthreads = 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.