cor_binary {miRSM} | R Documentation |
Generation of positively correlated binary matrix between ceRNAs and mRNAs
cor_binary(ceRExp, mRExp, cor.method = "pearson", pos.p.value.cutoff = 0.01)
ceRExp |
A SummarizedExperiment object. ceRNA expression data: rows are samples and columns are ceRNAs. |
mRExp |
A SummarizedExperiment object. mRNA expression data: rows are samples and columns are mRNAs. |
cor.method |
The method of calculating correlation selected, including 'pearson' (default), 'kendall', 'spearman'. |
pos.p.value.cutoff |
The significant p-value cutoff of positive correlation. |
A binary matrix.
Junpeng Zhang (https://www.researchgate.net/profile/Junpeng_Zhang3)
Langfelder P, Horvath S. WGCNA: an R package for weighted correlation network analysis. BMC Bioinformatics. 2008, 9:559.
data(BRCASampleData) cor_binary_matrix <- cor_binary(ceRExp, mRExp)