Description Usage Arguments Value Note See Also Examples
The function correlates miRNA and mRNA expression from a corObject and fills the cor and pval slots.
1 2 | addCorrelation(obj, method = "pearson", subset.miRNA = obj@sig.miRNA,
subset.mRNA = obj@sig.mRNA, common = NULL, alternative = "less", voom = FALSE)
|
obj |
a corObject |
method |
method used for computing correlation: "pearson" or "spearman". |
subset.miRNA |
Optional, character vector with the names of the miRNAs to correlate. It is recommended that miRNAs are added using addSig function. |
subset.mRNA |
Optional, character vector with the names of the mRNAs to correlate. It is recommended that mRNAs are added using addSig function. |
common |
Optional, character vector with the names of the samples to correlate (the samples must appear in both miRNA and mRNA datasets.) |
alternative |
specification of the alternative hypothesis: "less" (default), "two-sided" or "greater". |
voom |
If TRUE, normalise NGS data according to voom procedure (check limma package), default is FALSE. |
corObject
with the slots cor
and pval
filled.
addCorrelation.R
is the slow version of this function, but has the option to compute if there are any influential samples affecting the correlation values.
corObject-class
, cor
, addCorrelation.R
, addSig
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.