CorAnalysisPar: CorAnalysisPar:

Description Usage Arguments Value Examples

View source: R/correlation_functions.R

Description

Parallel Implementation of CorAnalysis. Ranks correlation between a given gene and all over genes in a dataset. Plots both the given gene and highly correlated genes for a given correlation value

Usage

1
CorAnalysisPar(genename, dataset, lag = 0, average = "median", nthreads = NULL)

Arguments

genename

the name of a gene intended for comparison with all other genes in the dataset. Must be a string.

dataset

A transcriptomics dataset. First columns should be gene names. All other 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.

average

The average to be used for comparing the time points. Either 'median' or 'mean'.

nthreads

Number of processor threads for the process. If not specifed then the maximum number of logical cores are used.

Value

Returns dataframe containing gene names and correlation values

Examples

1
2
cor_results <- CorAnalysisPar('comp100002_c0_seq2', Laurasmappings,
                              nthreads = 2)

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