Description Usage Arguments Value Examples
View source: R/correlation_functions.R
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
1 | CorAnalysisPar(genename, dataset, lag = 0, average = "median", nthreads = NULL)
|
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. |
Returns dataframe containing gene names and correlation values
1 2 | cor_results <- CorAnalysisPar('comp100002_c0_seq2', Laurasmappings,
nthreads = 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.