Description Usage Arguments Value Examples
View source: R/correlation_functions.R
Correlates the average activity of each cluster with every other cluster in a dataset.
1 2 3 4 5 6 7 |
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 gene to be correlated with lagged genes 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. |
save |
Logical. If TRUE, the dataframe of correlations for the dataset is saved as a .csv file. |
filename |
filename for saved csv file. Only used if save=TRUE. If not specified then the dataset object name is used. |
A dataframe of correlation values. The column genes represent the original clusters whilst the rows represent lagged clusters.
1 2 | pam.df <- PamClustering(Laurasmappings, k = 10, nthreads = 2)
cor.df <- CorAnalysisClusterDataset(pam.df, nthreads = 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.