Fast thresholded correlation mattices
R
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
R
man
tests
vignettes
.Rbuildignore
.lintr
.travis.yml
DESCRIPTION
NAMESPACE
README.md

README.md

tcor

An R package for fast and memory-efficient computation of thresholded correlation matrices

A preprint of the companion note is available from http://arxiv.org/abs/1512.07246.

Installation

The package depends on the irlba (https://cran.r-project.org/web/packages/irlba/) and foreach (https://cran.r-project.org/web/packages/foreach/) packages, each available on CRAN. You can install tcor using the devtools package (https://cran.r-project.org/web/packages/devtools/) with:

devtools::install_github("bwlewis/tcor")

The algorithm can optionally make use of foreach package "back-ends" to run in parallel Many are available, including doMC, doParallel, and doRedis. See the CRAN high performance computing task view for more info https://cran.r-project.org/web/views/HighPerformanceComputing.html.

Example

See the vignette https://github.com/bwlewis/tcor/blob/master/vignettes/brca.Rmd for an example that uses tcor to compute the most correlated gene expression vectors from TCGA RNASeq data.