crossCors | R Documentation |
Calculate cross-correlations with between rows of input matrices
crossCors(X, Y = NULL, method = "pearson")
X |
a matrix or data.frame |
Y |
a matrix or data.frame |
method |
a string specifying the type of correlation, chosen from pearson (default) or spearman. |
a list containing matrices of pairwise correlations and their p-values between rows of the input matrices or dataframes.
Sudhir Varma, NCI-LMP, with input checks, support for Spearman's correlation added by VNR.
drugActData <- exprs(getAct(rcellminerData::drugData))
crossCors(drugActData[c("94600"), ], drugActData[c("727625", "670655"), ])
crossCors(drugActData[c("94600"), ], drugActData[c("727625", "670655"), ], method="spearman")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.