Description Usage Arguments Examples
View source: R/correlation_functions.R
Correlates the average activity of a cluster with the average activity of every other cluster.
1 | CorAnalysisCluster(cluster.no, cluster.dataset, lag = 0, nthreads = NULL)
|
cluster.no |
The ID for the cluster which will be compared with all other clusters in the dataset |
cluster.dataset |
A transcriptomics dataset where the final column details the cluster the gene belongs to. First column should be gene names. All remaining columns should be expression levels. |
lag |
Setting any value other than 0 allows a cluster to be correlated with lagged clusters in the dataset. The number denotes the number of timesteps to lag by. |
nthreads |
The number of threads to be used for parallel computations. Defaults to the maximum number of threads available. |
1 2 | pam.df <- PamClustering(Laurasmappings, k = 10, nthreads = 2)
cor.df <- CorAnalysisCluster(3, pam.df, nthreads = 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.