miRLAB (version 1.2.2)

bRank: Extract topk predicted targets of a miRNA Rank all the targets of a miRNA and extract the topk targets

Description

Extract topk predicted targets of a miRNA Rank all the targets of a miRNA and extract the topk targets

Usage

bRank(CEmatrix, causeIndex, topk, downreg = TRUE)

Arguments

CEmatrix
the matrix of correlation/causal effect/score results with columns are miRNAs and rows are mRNAs
causeIndex
the column index of the miRNA that we would like to extract
topk
the number of targets being extracted
downreg
if TRUE the negative correlation/causal effect/score will be on the top of the ranking. This is to favour the negative regulations.

Value

  • a matrix with 3 columns, where the first column contains the miRNA, the second column contains the mRNAs and the last column contains the correlations/causal effects/scores

Examples

Run this code
dataset=system.file("extdata", "ToyEMT.csv", package="miRLAB")
ps=Pearson(dataset, cause=1:3, effect=4:18)
miR200aTop10 = bRank(ps, 3, 10, TRUE)

Run the code above in your browser using DataLab