Extopk {miRLAB}R Documentation

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

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

[Package miRLAB version 1.24.0 Index]