corFinder | R Documentation |
This function acts as a wrapper around ComBat (sva package) and cor(), to calculate pairwise correlations within one or between two ExpressionSets.
corFinder(eset.pair, separator = ":", use.ComBat = TRUE, ...)
eset.pair |
a list of ExpressionSets, with two elements. If the two elements are identical, return the correlation matrix for pairs of samples in the first element. If not identical, return pairs between the two elements. |
separator |
Separator between dataset name and sample name. Dataset names are added to sample names to keep track of dataset of origin. |
use.ComBat |
Use the sva::ComBat function for batch correction of the expr() data between the two datasets. |
... |
Extra arguments passed to the cor() function. |
Returns a matrix of sample-wise Pearson Correlations.
Levi Waldron, Markus Riester, Marcel Ramos
example("phenoFinder")
corFinder(esets2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.