cor_binary: cor_binary

Description Usage Arguments Value Author(s) References Examples

View source: R/miRSM.R

Description

Generation of positively correlated binary matrix between ceRNAs and mRNAs

Usage

1
cor_binary(ceRExp, mRExp, cor.method = "pearson", pos.p.value.cutoff = 0.01)

Arguments

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.

Value

A binary matrix.

Author(s)

Junpeng Zhang (https://www.researchgate.net/profile/Junpeng_Zhang3)

References

Langfelder P, Horvath S. WGCNA: an R package for weighted correlation network analysis. BMC Bioinformatics. 2008, 9:559.

Examples

1
2
data(BRCASampleData)
cor_binary_matrix <- cor_binary(ceRExp, mRExp)

miRSM documentation built on April 16, 2021, 6 p.m.