Learn R Programming

miRLAB (version 1.2.2)

Extopk: Extract top k miRNA-mRNA interactions

Description

Rank the miRNA-mRNA interactions based on absolute values of the correlations/scores/causal effects, and return the topk interactions.

Usage

Extopk(cormat, topk)

Arguments

cormat
the correlation matrix that need to be extracted with columns are miRNAs and rows are mRNAs
topk
the number of interactions that need to be extracted.

Value

  • topk interactions

Examples

Run this code
dataset=system.file("extdata", "ToyEMT.csv", package="miRLAB")
EMTresults=Pearson(dataset, 1:3, 4:18)
top10=Extopk(EMTresults, 10)

Run the code above in your browser using DataLab