CorAnalysisCluster: CorAnalysisCluster

Description Usage Arguments Examples

View source: R/correlation_functions.R

Description

Correlates the average activity of a cluster with the average activity of every other cluster.

Usage

1
CorAnalysisCluster(cluster.no, cluster.dataset, lag = 0, nthreads = NULL)

Arguments

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.

Examples

1
2
pam.df <- PamClustering(Laurasmappings, k = 10, nthreads = 2)
cor.df <- CorAnalysisCluster(3, pam.df, nthreads = 2)

nathansam/CircadianTools documentation built on Dec. 26, 2019, 11:30 a.m.