Extopk: Extract top k miRNA-mRNA interactions

Description Usage Arguments Value Examples

View source: R/miRLAB.R

Description

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

Usage

1
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

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

miRLAB documentation built on Nov. 8, 2020, 5:45 p.m.